Debugging ssh-keygen dsa on Solaris8

Lutz Jaenicke Lutz.Jaenicke at aet.TU-Cottbus.DE
Thu Jul 26 01:38:26 EST 2001


On Wed, Jul 25, 2001 at 10:01:05AM -0500, Scott Burch wrote:
> 2) If I use 0.9.5a of openssl I do not have any of these problems with
> the exact same compiler and options. (This is why I think some code
> change is causing this problem.

I do not see any significant code changes in the dsa-code between
0.9.5a and 0.9.6b...
Please change line 69 in openssl-0.9.6b/crypto/dsa/dsa_lib.c from
  static DSA_METHOD *default_DSA_method;
to 
  static DSA_METHOD *default_DSA_method = NULL;

(Actually, if this helps it means that the bug was already in 0.9.5a
but it was not triggered for some reason. The initialization of things
may be compiler and optimization dependant anyway.)

Hmm. Strange. But there is also another report I had about strange problems
generating DSA keys with ssh-keygen under Solaris...
	Lutz
-- 
Lutz Jaenicke                             Lutz.Jaenicke at aet.TU-Cottbus.DE
BTU Cottbus               http://www.aet.TU-Cottbus.DE/personen/jaenicke/
Lehrstuhl Allgemeine Elektrotechnik                  Tel. +49 355 69-4129
Universitaetsplatz 3-4, D-03044 Cottbus              Fax. +49 355 69-4153



More information about the openssh-unix-dev mailing list