From 44d4b684f9c686d13cd63623317a222b4057218f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Lutz=20J=C3=A4nicke?= Date: Thu, 26 Jul 2001 09:03:42 +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 f852e6f205..a7fa70ee56 100644 --- a/CHANGES +++ b/CHANGES @@ -4,6 +4,12 @@ Changes between 0.9.6b and 0.9.6c [XX xxx XXXX] + *) 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 5dfc0eea43..8920c3f75f 100644 --- a/crypto/dsa/dsa_lib.c +++ b/crypto/dsa/dsa_lib.c @@ -66,7 +66,7 @@ const char *DSA_version="DSA" OPENSSL_VERSION_PTEXT; -static DSA_METHOD *default_DSA_method; +static 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