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

pull/4057/head
mrakopes 3 years ago
parent c8c1c09189
commit 9b6f775276

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

Loading…
Cancel
Save