projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the use of perl more consistent
[openssl.git]
/
crypto
/
ts
/
ts_rsp_sign.c
diff --git
a/crypto/ts/ts_rsp_sign.c
b/crypto/ts/ts_rsp_sign.c
index e85c4b467dc4cdbc3b7788d770a7bdbec75a6de1..0ad6f100d6db569d4d6039480191d7ee7fdb8e19 100644
(file)
--- a/
crypto/ts/ts_rsp_sign.c
+++ b/
crypto/ts/ts_rsp_sign.c
@@
-793,6
+793,7
@@
static ESS_CERT_ID *ess_CERT_ID_new_init(X509 *cert, int issuer_needed)
GENERAL_NAME *name = NULL;
unsigned char cert_sha1[SHA_DIGEST_LENGTH];
+ /* Call for side-effect of computing hash and caching extensions */
X509_check_purpose(cert, -1, 0);
if ((cid = ESS_CERT_ID_new()) == NULL)
goto err;