commit | 6b8846d92952f067bc3d7e7fd8cb76be81c2966e | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Thu Aug 15 17:42:02 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Fri Aug 16 13:56:16 2013 +0200 |
tree | 41faec918c33ecabd4e20846c5c3c8191bc83104 | |
parent | 1f2bc6238b1074a4d0efcabea582a3ec369b3536 [diff] [blame] |
Stop advertising support for compressed points (We can only write them, not read them.)
diff --git a/library/ssl_cli.c b/library/ssl_cli.c index a80a769..68f6cae 100644 --- a/library/ssl_cli.c +++ b/library/ssl_cli.c
@@ -266,13 +266,12 @@ *p++ = (unsigned char)( ( TLS_EXT_SUPPORTED_POINT_FORMATS ) & 0xFF ); *p++ = 0x00; - *p++ = 3; - *p++ = 2; - *p++ = POLARSSL_ECP_PF_COMPRESSED; + + *p++ = 1; *p++ = POLARSSL_ECP_PF_UNCOMPRESSED; - *olen = 7; + *olen = 6; } #endif