Merge pull request #4057 from mrakopes/master

issue 3007 - fix base64 decoding logic for single- and multi-line encoded string
This commit is contained in:
neil 2022-04-29 09:25:39 +08:00 committed by GitHub
commit ef8a199a5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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
}