aboutsummaryrefslogtreecommitdiffstats
path: root/lbu.in
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2020-01-16 11:09:28 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2020-01-16 12:11:01 +0000
commitad9996810186cbed04ec0c185bd3c998622a0a4f (patch)
treea7064bc48f3c4fe94fb1bf7ec6f6f1474a2fdd11 /lbu.in
parent23427c5d3a7c5201bcfa8b357c651be3a2f75a65 (diff)
downloadalpine-conf-ad9996810186cbed04ec0c185bd3c998622a0a4f.tar.bz2
alpine-conf-ad9996810186cbed04ec0c185bd3c998622a0a4f.tar.xz
lbu: fix wrong cipher match in check_openssl for 'lbu commit -e'
fixes #10451
Diffstat (limited to 'lbu.in')
-rw-r--r--lbu.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/lbu.in b/lbu.in
index f439cf2..fb4fbe5 100644
--- a/lbu.in
+++ b/lbu.in
@@ -126,7 +126,7 @@ check_openssl() {
[ -z "$ENCRYPTION" ] && return 0
OPENSSL=$(which openssl 2>/dev/null) || die "openssl was not found"
- $OPENSSL enc -ciphers | grep "^$ENCRYPTION$" > /dev/null \
+ $OPENSSL list -1 -cipher-commands | grep "^$ENCRYPTION$" > /dev/null \
|| die "Cipher $ENCRYPTION is not supported"
}