mirror of
https://github.com/drwetter/testssl.sh.git
synced 2026-07-15 11:37:40 +02:00
bugfix: aesgcm_used --> enc_aesgcm_used
This commit is contained in:
committed by
GitHub
parent
deda4c7627
commit
5a69b1c344
+1
-1
@@ -14553,7 +14553,7 @@ gcm-decrypt() {
|
|||||||
elif [[ "$cipher" == TLS_AES_256_GCM_SHA384 ]] && ! "$compute_tag"; then
|
elif [[ "$cipher" == TLS_AES_256_GCM_SHA384 ]] && ! "$compute_tag"; then
|
||||||
if "$HAS_AES256_GCM"; then
|
if "$HAS_AES256_GCM"; then
|
||||||
plaintext="$(hex2binary "$ciphertext" | $OPENSSL enc -aes-256-gcm -K "$key" -iv "$nonce" 2>/dev/null | hexdump -v -e '16/1 "%02X"')"
|
plaintext="$(hex2binary "$ciphertext" | $OPENSSL enc -aes-256-gcm -K "$key" -iv "$nonce" 2>/dev/null | hexdump -v -e '16/1 "%02X"')"
|
||||||
aesgcm_used=true
|
enc_aesgcm_used=true
|
||||||
elif "$HAS2_AES256_GCM"; then
|
elif "$HAS2_AES256_GCM"; then
|
||||||
# empty OPENSSL_CONF temporarily as it might cause problems, see #2780
|
# empty OPENSSL_CONF temporarily as it might cause problems, see #2780
|
||||||
plaintext="$(hex2binary "$ciphertext" | OPENSSL_CONF='' $OPENSSL2 enc -aes-256-gcm -K "$key" -iv "$nonce" 2>/dev/null | hexdump -v -e '16/1 "%02X"')"
|
plaintext="$(hex2binary "$ciphertext" | OPENSSL_CONF='' $OPENSSL2 enc -aes-256-gcm -K "$key" -iv "$nonce" 2>/dev/null | hexdump -v -e '16/1 "%02X"')"
|
||||||
|
|||||||
Reference in New Issue
Block a user