-----BEGIN PGP SIGNED MESSAGE-----
I ran into a problem in print-esp.c. To see, http://cvs.tcpdump.org/cgi-bin/cvsweb/tcpdump/print-esp.c?rev=1.19.2.3 I had to add: /* keep secret out of a register */ p = (u_char *)&secret; because after the second call to des_set_key(), "secret" was trashed. At first I thought this was because something was trashing the memory. After some tracing, I since realized that it was the pointer itself that was being trashed. It was in a register. "des_set_key()" uses lots of registers. I am using Debian 2.2 (Potato) on i386. I have: cassidy:/home/mcr/src/linux/i386/tcpdump# dpkg -l | grep gcc ii gcc 2.95.2-13 The GNU C compiler. I am building against: OpenSSL 0.9.6 24 Sep 2000 In order to debug easier, I linked in libcrypto.a statically after adding -g to the CFLAGS in the toplevel. I then tried openssl 0.9.6b, and it worked fine without the above hack. I have looked around openssl.org, but the changelog doesn't seem to say anything about problems against gcc-2.95. It worked fine on NetBSD/i386 with the 1.5.2 openssl. I'm not clear, but openssl/opensslv.h seems to suggest that NetBSD has 0.9.5a. (and: gcc version egcs-2.91.66). ] ON HUMILITY: to err is human. To moo, bovine. | firewalls [ ] Michael Richardson, Sandelman Software Works, Ottawa, ON |net architect[ ] [EMAIL PROTECTED] http://www.sandelman.ottawa.on.ca/ |device driver[ ] panic("Just another NetBSD/notebook using, kernel hacking, security guy"); [ -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia Charset: latin1 Comment: Finger me for keys iQCVAwUBO9TMZ4qHRg3pndX9AQHAiwP+KcxAidt7SpIw1yyt2Cw0i1MD4vZlUPQz ULH/xK4mBQa2/CUs8c1mQXRfCyvML18O30G6IHIPhG1e4yqf5dkIevDu81BwixB4 zZ4y4l3tzH/rzRuU6fDGiwmxCQ8KhGnWH4unYnqKvatyvT6fXZbJk5/CTAfWBo5x 8RyE0jn/24c= =S1Ow -----END PGP SIGNATURE----- ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]