diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 05:26:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 05:30:18 +0000 |
commit | a1d39386db04d06315363b0e275437f725081ebd (patch) | |
tree | fdf446fb830ffd57b69fe488543ce0f888bf73bc /debian/tests/crypto-backend | |
parent | Merging debian version 2:2.7.2-1. (diff) | |
download | cryptsetup-a1d39386db04d06315363b0e275437f725081ebd.tar.xz cryptsetup-a1d39386db04d06315363b0e275437f725081ebd.zip |
Reverting switch from libargon to libopenssl for backports.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/tests/crypto-backend')
-rwxr-xr-x | debian/tests/crypto-backend | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/tests/crypto-backend b/debian/tests/crypto-backend index f78efe9..47dc5a8 100755 --- a/debian/tests/crypto-backend +++ b/debian/tests/crypto-backend @@ -42,7 +42,7 @@ sed -ri 's/^[^\[]*//' "$DEBUG" # " [cryptsetup libargon2]": bundled libargon2 # " [external libargon2]": system libargon2 # "][argon2]": crypto backend's own implementation -if ! grep -qF "][argon2]" <"$DEBUG"; then +if ! grep -qF " [external libargon2]" <"$DEBUG"; then echo "ERROR: Unexpected argon2 backend" >&2 exit 1 fi @@ -55,8 +55,8 @@ fi assert_linked_argon2() { local path="$1" - if env --unset=LD_PRELOAD ldd "$path" | grep -qE '^\s*libargon2\.so(\.[0-9]+)*\s+=>\s'; then - echo "ERROR: $path links against libargon2" >&2 + if ! env --unset=LD_PRELOAD ldd "$path" | grep -qE '^\s*libargon2\.so(\.[0-9]+)*\s+=>\s'; then + echo "ERROR: $path does not link against libargon2" >&2 exit 1 fi return 0 |