mirror of
https://github.com/cuberite/polarssl.git
synced 2025-09-11 16:15:56 -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()
|
||||
{
|
||||
if [ "X" != "X$FILTER" -o "X" != "X$EXCLUDE" ];
|
||||
then
|
||||
# Ciphersuite for Mbed TLS
|
||||
M_CIPHERS=$( filter "$M_CIPHERS" )
|
||||
|
||||
# Ciphersuite for OpenSSL
|
||||
O_CIPHERS=$( filter "$O_CIPHERS" )
|
||||
|
||||
# Ciphersuite for GnuTLS
|
||||
G_CIPHERS=$( filter "$G_CIPHERS" )
|
||||
fi
|
||||
M_CIPHERS=$( filter "$M_CIPHERS" )
|
||||
O_CIPHERS=$( filter "$O_CIPHERS" )
|
||||
G_CIPHERS=$( filter "$G_CIPHERS" )
|
||||
}
|
||||
|
||||
reset_ciphersuites()
|
||||
|
Loading…
x
Reference in New Issue
Block a user