]> git.ipfire.org Git - thirdparty/openssl.git/commit
X509_NAME_cmp: if canon_enclen is 0 for both names return 0
authorTomas Mraz <tomas@openssl.org>
Mon, 12 Apr 2021 07:58:27 +0000 (09:58 +0200)
committerTomas Mraz <tomas@openssl.org>
Wed, 14 Apr 2021 07:45:40 +0000 (09:45 +0200)
commit74bcbea76ff180c3eb27a141be99b7b577eec81c
treefcc89c31b09727a92b655c70da1f00b42b9232a1
parentd32fc2c51b74c135ae09c3bb04ebe5781edd7571
X509_NAME_cmp: if canon_enclen is 0 for both names return 0

We do not care whether canon_enc is NULL in this case.

Fixes #14813

Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/14832)
crypto/x509/x509_cmp.c