projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0f443a
)
x509v3/v3_purp.c: resolve Thread Sanitizer nit.
author
Andy Polyakov
<appro@openssl.org>
Sun, 29 Jul 2018 12:13:32 +0000
(14:13 +0200)
committer
Andy Polyakov
<appro@openssl.org>
Fri, 10 Aug 2018 19:52:38 +0000
(21:52 +0200)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6891)
(cherry picked from commit
0da7358b0757fa35f2c3a8f51fa036466ae50fd7
)
crypto/x509v3/v3_purp.c
patch
|
blob
|
history
diff --git
a/crypto/x509v3/v3_purp.c
b/crypto/x509v3/v3_purp.c
index 144de0c306fc8d03def279df26265104ec343e78..47ca7da5ec8998b12662dc0aac1c1226d32647a4 100644
(file)
--- a/
crypto/x509v3/v3_purp.c
+++ b/
crypto/x509v3/v3_purp.c
@@
-350,12
+350,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_THREAD_write_lock(x->lock);
if (x->ex_flags & EXFLAG_SET) {
CRYPTO_THREAD_unlock(x->lock);