mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-12 08:38:08 -04:00
compat.sh: always filter ciphersuites
We always want to call 'filter' regardless of the values of FILTER and EXCLUDE because it also performs standard-defined filtering like removing RC4 ciphersuites with DTLS. (AFAICS, not calling 'filter' when we thought it was not needed was just a performance optimisation.) Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
This commit is contained in:
parent
c3f5c96a8d
commit
4be89414ab
@ -272,17 +272,9 @@ filter()
|
|||||||
|
|
||||||
filter_ciphersuites()
|
filter_ciphersuites()
|
||||||
{
|
{
|
||||||
if [ "X" != "X$FILTER" -o "X" != "X$EXCLUDE" ];
|
M_CIPHERS=$( filter "$M_CIPHERS" )
|
||||||
then
|
O_CIPHERS=$( filter "$O_CIPHERS" )
|
||||||
# Ciphersuite for Mbed TLS
|
G_CIPHERS=$( filter "$G_CIPHERS" )
|
||||||
M_CIPHERS=$( filter "$M_CIPHERS" )
|
|
||||||
|
|
||||||
# Ciphersuite for OpenSSL
|
|
||||||
O_CIPHERS=$( filter "$O_CIPHERS" )
|
|
||||||
|
|
||||||
# Ciphersuite for GnuTLS
|
|
||||||
G_CIPHERS=$( filter "$G_CIPHERS" )
|
|
||||||
fi
|
|
||||||
}
|
}
|
||||||
|
|
||||||
reset_ciphersuites()
|
reset_ciphersuites()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user