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:
e128f89
)
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:23 +0000
(12:09 +0200)
Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/rand/rand_lib.c
patch
|
blob
|
history
diff --git
a/crypto/rand/rand_lib.c
b/crypto/rand/rand_lib.c
index 40e2464a8258369fea549ad9ecc73f5b603d16c5..7ffd10bd78176fc2aa288b7a3d4abfb1287ad6eb 100644
(file)
--- 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)