OpenSSL CVS Repository
http://cvs.openssl.org/
____________________________________________________________
________________
Server: cvs.openssl.org Name: Bodo
Moeller
Root: /v/openssl/cvs Email: bodo openssl.org
Module: openssl Date:
30-Mar-2006 04:41:30
Branch: HEAD Handle:
2006033003413000
Modified files:
openssl/apps s_server.c
Log:
Change default curve (for compatibility with a
soon-to-be-widely-deployed implementation that doesn't
support the
previous default)
Submitted by: Douglas Stebila
Summary:
Revision Changes Path
1.113 +3 -3 openssl/apps/s_server.c
____________________________________________________________
________________
patch -p0 <<' .'
Index: openssl/apps/s_server.c
============================================================
================
$ cvs diff -u -r1.112 -r1.113 s_server.c
--- openssl/apps/s_server.c 18 Mar 2006 14:24:02
-0000 1.112
+++ openssl/apps/s_server.c 30 Mar 2006 02:41:30
-0000 1.113
 -413,7 +413,7 
#ifndef OPENSSL_NO_ECDH
BIO_printf(bio_err," -named_curve arg - Elliptic
curve name to use for ephemeral ECDH keys.\n" \
" Use
\"openssl ecparam -list_curves\" for all
names\n" \
- " (default is
sect163r2).\n");
+ " (default is
nistp256).\n");
#endif
#ifdef FIONBIO
BIO_printf(bio_err," -nbio - Run with
non-blocking IO\n");
 -1308,10 +1308,10 
else
{
BIO_printf(bio_s_out,"Using default temp ECDH
parameters\n");
- ecdh = EC_KEY_new_by_curve_name(NID_sect163r2);
+ ecdh = EC_KEY_new_by_curve_name(NID_X9_62_prime256v1);
if (ecdh == NULL)
{
- BIO_printf(bio_err, "unable to create curve
(sect163r2)\n");
+ BIO_printf(bio_err, "unable to create curve
(nistp256)\n");
goto end;
}
}
 .
____________________________________________________________
__________
OpenSSL Project http://www.openssl.org
CVS Repository Commit List
openssl-cvs openssl.org
Automated List Manager
majordomo openssl.org
|