From 3435a8166cb15044ed89161484d6427d4806dcb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Milan=20P=2E=20Stani=C4=87?= Date: Thu, 16 Jan 2020 11:45:08 +0100 Subject: initramfs-init: fix openssl list ciphers-commands --- initramfs-init.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initramfs-init.in b/initramfs-init.in index 374c352..52e4e5e 100755 --- a/initramfs-init.in +++ b/initramfs-init.in @@ -43,7 +43,7 @@ unpack_apkovl() { # we need openssl. let apk handle deps apk add --quiet --initdb --repositories-file $repofile openssl || return 1 - if ! openssl list-cipher-commands | grep "^$suffix$" > /dev/null; then + if ! openssl list -1 -cipher-commands | grep "^$suffix$" > /dev/null; then errstr="Cipher $suffix is not supported" return 1 fi -- cgit v1.2.3