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 2d778ef..dcd93c1 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;