diff options
author | Lutz Jänicke <jaenicke@openssl.org> | 2001-07-26 09:02:44 +0000 |
---|---|---|
committer | Lutz Jänicke <jaenicke@openssl.org> | 2001-07-26 09:02:44 +0000 |
commit | a75b191502e5b47b489695174f2a2b71837f3830 (patch) | |
tree | 6430a68c4a22201fa54873349f734a1e433807be | |
parent | e5cb2603652b868225adc1db3db531a07c13b562 (diff) |
Fix problem occuring when used from OpenSSH on Solaris 8.
-rw-r--r-- | CHANGES | 6 | ||||
-rw-r--r-- | crypto/dsa/dsa_lib.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -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; |