The branch master has been updated
       via  ce57ac431964f7692af674fd124103d6fe07af2e (commit)
      from  e128f891de71bbdba8391355af8d6d47d20b1969 (commit)


- Log -----------------------------------------------------------------
commit ce57ac431964f7692af674fd124103d6fe07af2e
Author: Andy Polyakov <[email protected]>
Date:   Sat Apr 8 22:29:09 2017 +0200

    rand/rand_lib.c: keep fixing no-engine configuration.
    
    Reviewed-by: Richard Levitte <[email protected]>

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

Summary of changes:
 crypto/rand/rand_lib.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/crypto/rand/rand_lib.c b/crypto/rand/rand_lib.c
index 40e2464..7ffd10b 100644
--- a/crypto/rand/rand_lib.c
+++ b/crypto/rand/rand_lib.c
@@ -113,7 +113,9 @@ void rand_cleanup_int(void)
         meth->cleanup();
     RAND_set_rand_method(NULL);
     CRYPTO_THREAD_lock_free(rand_meth_lock);
+#ifndef OPENSSL_NO_ENGINE
     CRYPTO_THREAD_lock_free(rand_engine_lock);
+#endif
 }
 
 void RAND_seed(const void *buf, int num)
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits

Reply via email to