mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-10 07:36:28 -04:00
compat.sh: no TLS-RSA-WITH-NULL-SHA256 with ssl3
This is officially a 1.2-only ciphersuite, but we also support it with 1.0 and 1.1. However we don't support it with SSLv3 (see definition in ssl_ciphersuites.c: mininum minor version is 1, that is TLS 1.0). Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
e86e2bc451
commit
7e5d81d431
@ -655,14 +655,18 @@ add_gnutls_ciphersuites()
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
"RSA")
|
"RSA")
|
||||||
# Not actually supported with all GnuTLS versions. See
|
if [ `minor_ver "$MODE"` -ge 1 ]
|
||||||
# GNUTLS_HAS_TLS1_RSA_NULL_SHA256= below.
|
then
|
||||||
M_CIPHERS="$M_CIPHERS \
|
# Not actually supported with all GnuTLS versions. See
|
||||||
TLS-RSA-WITH-NULL-SHA256 \
|
# GNUTLS_HAS_TLS1_RSA_NULL_SHA256= below.
|
||||||
"
|
M_CIPHERS="$M_CIPHERS \
|
||||||
G_CIPHERS="$G_CIPHERS \
|
TLS-RSA-WITH-NULL-SHA256 \
|
||||||
+RSA:+NULL:+SHA256 \
|
"
|
||||||
"
|
G_CIPHERS="$G_CIPHERS \
|
||||||
|
+RSA:+NULL:+SHA256 \
|
||||||
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ `minor_ver "$MODE"` -ge 3 ]
|
if [ `minor_ver "$MODE"` -ge 3 ]
|
||||||
then
|
then
|
||||||
M_CIPHERS="$M_CIPHERS \
|
M_CIPHERS="$M_CIPHERS \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user