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:
parent
ba9786e4b8
commit
072569e0f1
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue