diff options
author | Andy Polyakov <appro@openssl.org> | 2018-07-29 14:13:32 +0200 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2018-08-17 09:58:50 +0200 |
commit | 9804228a4313fcdff1cface0f87ce8b8ed180259 (patch) | |
tree | ed04c59b6029469f69659e030067946d2396962c | |
parent | 8297ab58008e01f4b86c1b168118aaa3bb882234 (diff) |
x509v3/v3_purp.c: resolve Thread Sanitizer nit.
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6916)
(cherry picked from commit 0da7358b0757fa35f2c3a8f51fa036466ae50fd7)
Resolved conflicts:
crypto/x509v3/v3_purp.c
-rw-r--r-- | crypto/x509v3/v3_purp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/crypto/x509v3/v3_purp.c b/crypto/x509v3/v3_purp.c index 7080a51c4c..6d3aa8f731 100644 --- a/crypto/x509v3/v3_purp.c +++ b/crypto/x509v3/v3_purp.c @@ -396,12 +396,8 @@ static void x509v3_cache_extensions(X509 *x) ASN1_BIT_STRING *ns; EXTENDED_KEY_USAGE *extusage; X509_EXTENSION *ex; - int i; - if (x->ex_flags & EXFLAG_SET) - return; - CRYPTO_w_lock(CRYPTO_LOCK_X509); if (x->ex_flags & EXFLAG_SET) { CRYPTO_w_unlock(CRYPTO_LOCK_X509); |