Commit 3435a816 authored by Milan P. Stanić's avatar Milan P. Stanić Committed by Natanael Copa
Browse files

initramfs-init: fix openssl list ciphers-commands

parent f52f1425
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment