Fix problem occuring when used from OpenSSH on Solaris 8.

This commit is contained in:
Lutz Jänicke
2001-07-26 09:03:42 +00:00
parent 746142d672
commit 44d4b684f9
2 changed files with 7 additions and 1 deletions

View File

@@ -4,6 +4,12 @@
Changes between 0.9.6b and 0.9.6c [XX xxx XXXX] 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 *) In crypto/dh/dh_key.c, change generate_key() (the default
implementation of DH_generate_key()) so that a new key is implementation of DH_generate_key()) so that a new key is
generated each time DH_generate_key() is used on a DH object. generated each time DH_generate_key() is used on a DH object.

View File

@@ -66,7 +66,7 @@
const char *DSA_version="DSA" OPENSSL_VERSION_PTEXT; 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 int dsa_meth_num = 0;
static STACK_OF(CRYPTO_EX_DATA_FUNCS) *dsa_meth = NULL; static STACK_OF(CRYPTO_EX_DATA_FUNCS) *dsa_meth = NULL;