From: Bodo Möller Date: Sun, 27 Jan 2002 17:41:12 +0000 (+0000) Subject: Undo previous change, X509_check_issued() was correct. X-Git-Tag: OpenSSL-engine-0_9_6c^2^2~49 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=072569e0f1401330613fe4ded0a158297769981d;p=oweals%2Fopenssl.git Undo previous change, X509_check_issued() was correct. [See Message-ID: <3BB07999.30432AD2@celocom.com> Date: Tue, 25 Sep 2001 13:33:29 +0100 From: Dr S N Henson To: openssl-dev@openssl.org Subject: Re: Error in v3_purp.c ] --- diff --git a/crypto/x509v3/v3_purp.c b/crypto/x509v3/v3_purp.c index 30687119a3..b739e4fd83 100644 --- a/crypto/x509v3/v3_purp.c +++ b/crypto/x509v3/v3_purp.c @@ -615,7 +615,7 @@ int X509_check_issued(X509 *issuer, X509 *subject) break; } } - if(nm && X509_NAME_cmp(nm, X509_get_subject_name(issuer))) + if(nm && X509_NAME_cmp(nm, X509_get_issuer_name(issuer))) return X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH; } }