mirror of
https://github.com/drwetter/testssl.sh.git
synced 2026-07-15 03:27:38 +02:00
Merge pull request #3080 from ericcgu/ericcgu-patch-1
fix: inverted return check in sym-encrypt() at testssl.sh:14741 makes …
This commit is contained in:
+1
-1
@@ -14738,7 +14738,7 @@ sym-encrypt() {
|
|||||||
return 7
|
return 7
|
||||||
fi
|
fi
|
||||||
[[ $? -ne 0 ]] && return 7
|
[[ $? -ne 0 ]] && return 7
|
||||||
[[ -n "$ciphertext" ]] && return 7
|
[[ -z "$ciphertext" ]] && return 7
|
||||||
|
|
||||||
tm_out "$(strip_spaces "$ciphertext")"
|
tm_out "$(strip_spaces "$ciphertext")"
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user