From 63810d85666f75322f5b5548027f283efd48162e Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 26 Jan 2002 04:25:16 +0000 Subject: [PATCH] Apply a small patch from Diego R. Lopez , making X509_check_issued() properly match an issuer that's found in a Authority Key Identifier. --- 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 b739e4fd83..30687119a3 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_issuer_name(issuer))) + if(nm && X509_NAME_cmp(nm, X509_get_subject_name(issuer))) return X509_V_ERR_AKID_ISSUER_SERIAL_MISMATCH; } } -- 2.25.1