mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 12:04:38 +08:00
Document the invariants for the empty X509_NAME encoding
Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com> (Merged from https://github.com/openssl/openssl/pull/14832)
This commit is contained in:
parent
74bcbea76f
commit
456541f0b7
@ -298,6 +298,7 @@ static int x509_name_ex_print(BIO *out, const ASN1_VALUE **pval,
|
||||
* comparison of Name structures can be rapidly performed by just using
|
||||
* memcmp() of the canonical encoding. By omitting the leading SEQUENCE name
|
||||
* constraints of type dirName can also be checked with a simple memcmp().
|
||||
* NOTE: For empty X509_NAME (NULL-DN), canon_enclen == 0 && canon_enc == NULL
|
||||
*/
|
||||
|
||||
static int x509_name_canon(X509_NAME *a)
|
||||
|
Loading…
Reference in New Issue
Block a user