fix base64 decoding logic for single- ane multi-line encoded string

This commit is contained in:
mrakopes 2022-04-28 13:25:22 +02:00
parent c8c1c09189
commit 9b6f775276

View File

@ -983,9 +983,9 @@ _base64() {
#Usage: multiline
_dbase64() {
if [ "$1" ]; then
${ACME_OPENSSL_BIN:-openssl} base64 -d -A
else
${ACME_OPENSSL_BIN:-openssl} base64 -d
else
${ACME_OPENSSL_BIN:-openssl} base64 -d -A
fi
}