From: Lutz Jänicke Date: Thu, 26 Jul 2001 09:02:44 +0000 (+0000) Subject: Fix problem occuring when used from OpenSSH on Solaris 8. X-Git-Tag: OpenSSL_0_9_6c~147^2~66 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a75b191502e5b47b489695174f2a2b71837f3830;p=oweals%2Fopenssl.git Fix problem occuring when used from OpenSSH on Solaris 8. --- diff --git a/CHANGES b/CHANGES index feeb46e9b2..5f4b3d37ea 100644 --- a/CHANGES +++ b/CHANGES @@ -12,6 +12,12 @@ *) applies to 0.9.6a/0.9.6b/0.9.6c and 0.9.7 +) applies to 0.9.7 only + *) Initialize static variable in crypto/dsa/dsa_lib.c explicitely to + NULL, as at least on Solaris 8 this seems not to be done automatically + (in contradiction to the requirements of the C standard). + This made problems when used from OpenSSH. + [Lutz Jaenicke] + *) In crypto/dh/dh_key.c, change generate_key() (the default implementation of DH_generate_key()) so that a new key is generated each time DH_generate_key() is used on a DH object. diff --git a/crypto/dsa/dsa_lib.c b/crypto/dsa/dsa_lib.c index 48b228f3a1..607f84e45b 100644 --- a/crypto/dsa/dsa_lib.c +++ b/crypto/dsa/dsa_lib.c @@ -67,7 +67,7 @@ const char *DSA_version="DSA" OPENSSL_VERSION_PTEXT; -static const DSA_METHOD *default_DSA_method; +static const DSA_METHOD *default_DSA_method = NULL; static int dsa_meth_num = 0; static STACK_OF(CRYPTO_EX_DATA_FUNCS) *dsa_meth = NULL;