[openssl-commits] [openssl] OpenSSL_1_1_0-stable update
Richard Levitte
levitte at openssl.org
Fri Nov 11 09:44:23 UTC 2016
The branch OpenSSL_1_1_0-stable has been updated
via 1b8055a18387ed93987df868f87df62b713922c1 (commit)
from 16db345c47cbf97ea01e655d4eb00f9c4c52f361 (commit)
- Log -----------------------------------------------------------------
commit 1b8055a18387ed93987df868f87df62b713922c1
Author: Richard Levitte <levitte at openssl.org>
Date: Fri Nov 11 10:23:26 2016 +0100
Fix the effect of no-dso in crypto/init.c
When configured no-dso, there are no DSO_{whatever} macros defined.
Therefore, before checking those, you have to check if OPENSSL_NO_DSO
is defined.
Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1902)
(cherry picked from commit 6e290a25c2cbdc26119c0866c20d9292f9e64dd8)
-----------------------------------------------------------------------
Summary of changes:
crypto/init.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/crypto/init.c b/crypto/init.c
index a939cb1..411e2d8 100644
--- a/crypto/init.c
+++ b/crypto/init.c
@@ -81,7 +81,7 @@ DEFINE_RUN_ONCE_STATIC(ossl_init_base)
OPENSSL_cpuid_setup();
base_inited = 1;
-#ifndef OPENSSL_USE_NODELETE
+#if !defined(OPENSSL_NO_DSO) && !defined(OPENSSL_USE_NODELETE)
# ifdef DSO_WIN32
{
HMODULE handle = NULL;
@@ -604,7 +604,7 @@ int OPENSSL_atexit(void (*handler)(void))
{
OPENSSL_INIT_STOP *newhand;
-#ifndef OPENSSL_USE_NODELETE
+#if !defined(OPENSSL_NO_DSO) && !defined(OPENSSL_USE_NODELETE)
{
union {
void *sym;
More information about the openssl-commits
mailing list