Fix the effect of no-dso in crypto/init.c
authorRichard Levitte <levitte@openssl.org>
Fri, 11 Nov 2016 09:23:26 +0000 (10:23 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 11 Nov 2016 09:23:26 +0000 (10:23 +0100)
commit6e290a25c2cbdc26119c0866c20d9292f9e64dd8
treed7fd4eef41256572f0c588d305be18f5989210da
parent588d2375a29bd128ff91b9bd2b7bf659a5f48c1a
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@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1902)
crypto/init.c