From: Dr. David von Oheimb Date: Mon, 12 Jul 2021 13:32:49 +0000 (+0200) Subject: X509_cmp.pod: Point out that the X509_NAME_cmp() arguments may be NULL X-Git-Tag: openssl-3.2.0-alpha1~3141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acef3b2f84b22c7cdb3cbc02fc8fc7b76cbb6ea7;p=thirdparty%2Fopenssl.git X509_cmp.pod: Point out that the X509_NAME_cmp() arguments may be NULL Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/16050) --- diff --git a/doc/man3/X509_cmp.pod b/doc/man3/X509_cmp.pod index 272a9d259e7..6294314abb4 100644 --- a/doc/man3/X509_cmp.pod +++ b/doc/man3/X509_cmp.pod @@ -29,7 +29,8 @@ I and I. The comparison is based on the B result of the hash values of two B objects and the canonical (DER) encoding values. The X509_NAME_cmp() function compares two B objects indicated by -parameters I and I. The comparison is based on the B result of the +parameters I and I, any of which may be NULL. +The comparison is based on the B result of the canonical (DER) encoding values of the two objects using L. This procedure adheres to the matching rules for Distinguished Names (DN) given in RFC 4517 section 4.2.15 and RFC 5280 section 7.1.