commit | 5734b2d35889f8b2b2e6b93742e090164047e610 | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Aug 15 19:04:02 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Fri Aug 16 13:56:16 2013 +0200 |
tree | 8a9d38ec73e4687af918aed4541d627f459fea6c | |
parent | 7b19c16b7406bdd75b56ac291613562dadef365d [diff] [blame] |
Actually use the point format selected for ECDH
diff --git a/library/ssl_cli.c b/library/ssl_cli.c index 4b7e4b5..16d49f3 100644 --- a/library/ssl_cli.c +++ b/library/ssl_cli.c
@@ -707,7 +707,7 @@ if( p[0] == POLARSSL_ECP_PF_UNCOMPRESSED || p[0] == POLARSSL_ECP_PF_COMPRESSED ) { - ssl->handshake->ec_point_format = p[0]; + ssl->handshake->ecdh_ctx.point_format = p[0]; SSL_DEBUG_MSG( 4, ( "point format selected: %d", p[0] ) ); return( 0 ); }