Unverified Commit e6959f09 authored by neil's avatar neil Committed by GitHub
Browse files

Merge pull request #4070 from acmesh-official/dev

sync
parents 68878054 8d783e8e
#!/usr/bin/env sh #!/usr/bin/env sh
VER=3.0.3 VER=3.0.4
PROJECT_NAME="acme.sh" PROJECT_NAME="acme.sh"
...@@ -2691,6 +2691,13 @@ _initAPI() { ...@@ -2691,6 +2691,13 @@ _initAPI() {
return 1 return 1
} }
_clearCA() {
export ACME_DIRECTORY=
export CA_CONF=
export ACCOUNT_KEY_PATH=
export ACCOUNT_JSON_PATH=
}
#[domain] [keylength or isEcc flag] #[domain] [keylength or isEcc flag]
_initpath() { _initpath() {
domain="$1" domain="$1"
...@@ -5357,6 +5364,7 @@ renew() { ...@@ -5357,6 +5364,7 @@ renew() {
#renewAll [stopRenewOnError] #renewAll [stopRenewOnError]
renewAll() { renewAll() {
_initpath _initpath
_clearCA
_stopRenewOnError="$1" _stopRenewOnError="$1"
_debug "_stopRenewOnError" "$_stopRenewOnError" _debug "_stopRenewOnError" "$_stopRenewOnError"
_ret="0" _ret="0"
......
Markdown is supported
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