[openssl-commits] [openssl] master update

Kurt Roeckx kurt at openssl.org
Tue Nov 24 21:44:34 UTC 2015


The branch master has been updated
       via  da950fd3f1c91619ec6636158d959827e48f5ab0 (commit)
      from  c98d63f250c3cefe0905269171eb5e26b1ce8d57 (commit)


- Log -----------------------------------------------------------------
commit da950fd3f1c91619ec6636158d959827e48f5ab0
Author: Alessandro Ghedini <alessandro at ghedini.me>
Date:   Wed Oct 28 20:38:39 2015 +0100

    Remove useless locking code
    
    Follow-up to 070c233.
    
    Signed-off-by: Kurt Roeckx <kurt at roeckx.be>
    Reviewed-by: Rich Salz <rsalz at akamai.com>
    
    GH: #454

-----------------------------------------------------------------------

Summary of changes:
 crypto/x509/x509_lu.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/crypto/x509/x509_lu.c b/crypto/x509/x509_lu.c
index b61d757..e2cbf51 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;


More information about the openssl-commits mailing list