summaryrefslogtreecommitdiffstats
path: root/doc/man3
diff options
context:
space:
mode:
authorDr. David von Oheimb <David.von.Oheimb@siemens.com>2021-07-12 15:32:49 +0200
committerDr. David von Oheimb <dev@ddvo.net>2022-01-04 17:04:44 +0100
commitacef3b2f84b22c7cdb3cbc02fc8fc7b76cbb6ea7 (patch)
tree5c5a0f1af16ee2297e1f43a8fcf1c5c370739b6f /doc/man3
parent97b8c859c64bc60fcf5bb27ed51489c81fde41b3 (diff)
X509_cmp.pod: Point out that the X509_NAME_cmp() arguments may be NULL
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16050)
Diffstat (limited to 'doc/man3')
-rw-r--r--doc/man3/X509_cmp.pod3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/man3/X509_cmp.pod b/doc/man3/X509_cmp.pod
index 272a9d259e..6294314abb 100644
--- a/doc/man3/X509_cmp.pod
+++ b/doc/man3/X509_cmp.pod
@@ -29,7 +29,8 @@ I<a> and I<b>. The comparison is based on the B<memcmp> result of the hash
values of two B<X509> objects and the canonical (DER) encoding values.
The X509_NAME_cmp() function compares two B<X509_NAME> objects indicated by
-parameters I<a> and I<b>. The comparison is based on the B<memcmp> result of the
+parameters I<a> and I<b>, any of which may be NULL.
+The comparison is based on the B<memcmp> result of the
canonical (DER) encoding values of the two objects using L<i2d_X509_NAME(3)>.
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.