From a75b191502e5b47b489695174f2a2b71837f3830 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lutz=20J=C3=A4nicke?= Date: Thu, 26 Jul 2001 09:02:44 +0000 Subject: [PATCH] Fix problem occuring when used from OpenSSH on Solaris 8. --- CHANGES | 6 ++++++ crypto/dsa/dsa_lib.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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; -- 2.25.1