ref: 3435a8166cb15044ed89161484d6427d4806dcb7
parent: f52f14252cd69368ec56cb8b960a256363b08efb
author: Milan P. Stanić <mps@arvanta.net>
date: Thu Jan 16 05:45:08 CST 2020
initramfs-init: fix openssl list ciphers-commands
--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -43,7 +43,7 @@
# 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