[openssl.org #511] BUG: crypto/ec/ec_key.c:EC_KEY_dup()
__ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #511] BUG: crypto/ec/ec_key.c:EC_KEY_dup()
Bodo Moeller via RT [EMAIL PROTECTED]: [nothing] RT has cut off the message, which said that the fix will be in the next snapshot (which should be the latest snapshot by now). -- Bodo Möller [EMAIL PROTECTED] PGP http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/moeller/0x36d2c658.html * TU Darmstadt, Theoretische Informatik, Alexanderstr. 10, D-64283 Darmstadt * Tel. +49-6151-16-6628, Fax +49-6151-16-6036 __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
[openssl.org #511] BUG: crypto/ec/ec_key.c:EC_KEY_dup()
There is a typo in this function causing it to always fail. Fix below. Index: ec_key.c === RCS file: /var/cvs/contrib/openssl/crypto/ec/ec_key.c,v retrieving revision 1.4 diff -u -r1.4 ec_key.c --- ec_key.c28 Nov 2002 08:03:35 - 1.4 +++ ec_key.c18 Feb 2003 17:04:51 - @@ -199,7 +199,7 @@ /* copy the private key */ if (eckey-priv_key) { - ret-priv_key = BN_dup(ret-priv_key); + ret-priv_key = BN_dup(eckey-priv_key); if (ret-priv_key == NULL) ok = 0; } __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]