diff options
author | Alessandro Ghedini <alessandro@ghedini.me> | 2015-10-28 20:38:39 +0100 |
---|---|---|
committer | Kurt Roeckx <kurt@roeckx.be> | 2015-11-24 22:38:32 +0100 |
commit | da950fd3f1c91619ec6636158d959827e48f5ab0 (patch) | |
tree | fc756ba1b1a55b7aee84913e54d5e6d027969190 /crypto | |
parent | c98d63f250c3cefe0905269171eb5e26b1ce8d57 (diff) | |
download | openssl-da950fd3f1c91619ec6636158d959827e48f5ab0.tar.gz |
Remove useless locking code
Follow-up to 070c233.
Signed-off-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Rich Salz <rsalz@akamai.com>
GH: #454
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/x509/x509_lu.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/x509/x509_lu.c b/crypto/x509/x509_lu.c index b61d757d3c..e2cbf51e8e 100644 --- a/crypto/x509/x509_lu.c +++ b/crypto/x509/x509_lu.c @@ -527,12 +527,10 @@ STACK_OF(X509_CRL) *X509_STORE_get1_crls(X509_STORE_CTX *ctx, X509_NAME *nm) X509_CRL *x; X509_OBJECT *obj, xobj; sk = sk_X509_CRL_new_null(); - CRYPTO_w_lock(CRYPTO_LOCK_X509_STORE); /* * Always do lookup to possibly add new CRLs to cache */ - CRYPTO_w_unlock(CRYPTO_LOCK_X509_STORE); if (!X509_STORE_get_by_subject(ctx, X509_LU_CRL, nm, &xobj)) { sk_X509_CRL_free(sk); return NULL; |