diff options
author | Viktor Dukhovni <openssl-users@dukhovni.org> | 2016-01-28 03:54:09 +0100 |
---|---|---|
committer | Viktor Dukhovni <openssl-users@dukhovni.org> | 2016-01-28 04:16:12 +0100 |
commit | 109f8b5dec6aa3f46c1df79c8d5f8e8aba10474b (patch) | |
tree | a3b829adb790d377a5fa820d7d1acc9510485168 /crypto/x509/x509_trs.c | |
parent | Remove EIGHT_BIT and SIXTEEN_BIT (diff) | |
download | openssl-109f8b5dec6aa3f46c1df79c8d5f8e8aba10474b.tar.xz openssl-109f8b5dec6aa3f46c1df79c8d5f8e8aba10474b.zip |
Comment side-effect only calls of X509_check_purpose
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/x509/x509_trs.c')
-rw-r--r-- | crypto/x509/x509_trs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/x509/x509_trs.c b/crypto/x509/x509_trs.c index 58e7d54339..72c8110313 100644 --- a/crypto/x509/x509_trs.c +++ b/crypto/x509/x509_trs.c @@ -283,6 +283,7 @@ static int trust_1oid(X509_TRUST *trust, X509 *x, int flags) static int trust_compat(X509_TRUST *trust, X509 *x, int flags) { + /* Call for side-effect of computing hash and caching extensions */ X509_check_purpose(x, -1, 0); if (x->ex_flags & EXFLAG_SS) return X509_TRUST_TRUSTED; |