[openssl-commits] [openssl] OpenSSL_1_0_2-stable update

Andy Polyakov appro at openssl.org
Fri Aug 17 07:59:41 UTC 2018


The branch OpenSSL_1_0_2-stable has been updated
       via  9804228a4313fcdff1cface0f87ce8b8ed180259 (commit)
      from  8297ab58008e01f4b86c1b168118aaa3bb882234 (commit)


- Log -----------------------------------------------------------------
commit 9804228a4313fcdff1cface0f87ce8b8ed180259
Author: Andy Polyakov <appro at openssl.org>
Date:   Sun Jul 29 14:13:32 2018 +0200

    x509v3/v3_purp.c: resolve Thread Sanitizer nit.
    
    Reviewed-by: Viktor Dukhovni <viktor at openssl.org>
    (Merged from https://github.com/openssl/openssl/pull/6916)
    
    (cherry picked from commit 0da7358b0757fa35f2c3a8f51fa036466ae50fd7)
    
    Resolved conflicts:
    	crypto/x509v3/v3_purp.c

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

Summary of changes:
 crypto/x509v3/v3_purp.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/crypto/x509v3/v3_purp.c b/crypto/x509v3/v3_purp.c
index 7080a51..6d3aa8f 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);


More information about the openssl-commits mailing list