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 <drh@celocom.com>
     To: openssl-dev@openssl.org
     Subject: Re: Error in v3_purp.c
]
This commit is contained in:
Bodo Möller 2002-01-27 17:41:12 +00:00
parent ba9786e4b8
commit 072569e0f1

View file

@ -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;
}
}