Add man page bits for X509_CRL_get0_tbs_sigalg() OK?
Index: lib/libcrypto/man/X509_get0_signature.3 =================================================================== RCS file: /cvs/src/lib/libcrypto/man/X509_get0_signature.3,v retrieving revision 1.7 diff -u -p -r1.7 X509_get0_signature.3 --- lib/libcrypto/man/X509_get0_signature.3 6 Jul 2021 16:05:44 -0000 1.7 +++ lib/libcrypto/man/X509_get0_signature.3 16 Mar 2023 11:45:44 -0000 @@ -74,6 +74,7 @@ .Nm X509_REQ_get0_signature , .Nm X509_CRL_get0_signature , .Nm X509_get0_tbs_sigalg , +.Nm X509_CRL_get0_tbs_sigalg , .Nm X509_get_signature_type , .Nm X509_get_signature_nid , .Nm X509_REQ_get_signature_nid , @@ -103,6 +104,10 @@ .Fo X509_get0_tbs_sigalg .Fa "const X509 *x" .Fc +.Ft const X509_ALGOR * +.Fo X509_CRL_get0_tbs_sigalg +.Fa "const X509_CRL *crl" +.Fc .Ft int .Fo X509_get_signature_type .Fa "const X509 *x" @@ -135,8 +140,13 @@ or .Fa crl , respectively. .Fn X509_get0_tbs_sigalg -returns the signature algorithm in the signed portion of -.Fa x . +and +.Fn X509_CRL_get0_tbs_sigalg +return the signature algorithm in the signed portion of +.Fa x +or +.Fa crl , +respectively. The values returned are internal pointers that must not be freed by the caller. .Pp @@ -197,3 +207,7 @@ and first appeared in OpenSSL 1.1.0. All these functions have been available since .Ox 6.3 . +.Pp +.Fn X509_CRL_get0_tbs_sigalg +first appeared in LibreSSL 3.7.1 and has been available since +.Ox 7.3 .