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:
c74be80
)
rand/rand_lib.c: keep fixing no-engine configuration.
author
Andy Polyakov
<appro@openssl.org>
Sat, 8 Apr 2017 20:29:09 +0000
(22:29 +0200)
committer
Andy Polyakov
<appro@openssl.org>
Mon, 10 Apr 2017 10:09:59 +0000
(12:09 +0200)
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit
ce57ac431964f7692af674fd124103d6fe07af2e
)
crypto/rand/rand_lib.c
patch
|
blob
|
history
diff --git
a/crypto/rand/rand_lib.c
b/crypto/rand/rand_lib.c
index c1373e59426e6b4b0e9dbc6eb6b94f1068dc6b7b..62770d49d8cc0767d0a2a65a59eea0dc98fed662 100644
(file)
--- a/
crypto/rand/rand_lib.c
+++ b/
crypto/rand/rand_lib.c
@@
-118,7
+118,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)