mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 21:21:42 +00:00
fix base64 decoding logic for single- ane multi-line encoded string
This commit is contained in:
parent
c8c1c09189
commit
9b6f775276
4
acme.sh
4
acme.sh
@ -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…
Reference in New Issue
Block a user