Another uninitialized static that may lead to problems on Solaris under some
authorLutz Jänicke <jaenicke@openssl.org>
Fri, 27 Jul 2001 12:35:27 +0000 (12:35 +0000)
committerLutz Jänicke <jaenicke@openssl.org>
Fri, 27 Jul 2001 12:35:27 +0000 (12:35 +0000)
circumstances.

crypto/dh/dh_lib.c

index 2d778ef300cfe989fa24de870310230ba27f70e5..dcd93c19a955bf44fab7e6d4eaa48fcab3ae42f0 100644 (file)
@@ -64,7 +64,7 @@
 
 const char *DH_version="Diffie-Hellman" OPENSSL_VERSION_PTEXT;
 
-static const DH_METHOD *default_DH_method;
+static const DH_METHOD *default_DH_method = NULL;
 static int dh_meth_num = 0;
 static STACK_OF(CRYPTO_EX_DATA_FUNCS) *dh_meth = NULL;