mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 00:15:37 +01:00
Stop advertising support for compressed points
(We can only write them, not read them.)
This commit is contained in:
parent
1f2bc6238b
commit
6b8846d929
@ -266,13 +266,12 @@ static void ssl_write_supported_point_formats_ext( ssl_context *ssl,
|
|||||||
*p++ = (unsigned char)( ( TLS_EXT_SUPPORTED_POINT_FORMATS ) & 0xFF );
|
*p++ = (unsigned char)( ( TLS_EXT_SUPPORTED_POINT_FORMATS ) & 0xFF );
|
||||||
|
|
||||||
*p++ = 0x00;
|
*p++ = 0x00;
|
||||||
*p++ = 3;
|
|
||||||
|
|
||||||
*p++ = 2;
|
*p++ = 2;
|
||||||
*p++ = POLARSSL_ECP_PF_COMPRESSED;
|
|
||||||
|
*p++ = 1;
|
||||||
*p++ = POLARSSL_ECP_PF_UNCOMPRESSED;
|
*p++ = POLARSSL_ECP_PF_UNCOMPRESSED;
|
||||||
|
|
||||||
*olen = 7;
|
*olen = 6;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user