From 072569e0f1401330613fe4ded0a158297769981d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bodo=20M=C3=B6ller?= Date: Sun, 27 Jan 2002 17:41:12 +0000 Subject: [PATCH] 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 ] --- crypto/x509v3/v3_purp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.25.1