projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Submitted by: Victor B. Wagner <vitus@cryptocom.ru>, steve
[openssl.git]
/
crypto
/
ocsp
/
ocsp_vfy.c
diff --git
a/crypto/ocsp/ocsp_vfy.c
b/crypto/ocsp/ocsp_vfy.c
index
23ea41c
..
5ea7c27
100644
(file)
--- a/
crypto/ocsp/ocsp_vfy.c
+++ b/
crypto/ocsp/ocsp_vfy.c
@@
-316,7
+316,7
@@
static int ocsp_match_issuerid(X509 *cert, OCSP_CERTID *cid,
return -1;
if (memcmp(md, cid->issuerNameHash->data, mdlen))
return 0;
- X509_pubkey_digest(cert,
EVP_sha1()
, md, NULL);
+ X509_pubkey_digest(cert,
dgst
, md, NULL);
if (memcmp(md, cid->issuerKeyHash->data, mdlen))
return 0;