Skip to content

Commit

Permalink
Merge pull request #4070 from acmesh-official/dev
Browse files Browse the repository at this point in the history
sync
  • Loading branch information
Neilpang authored May 6, 2022
2 parents 6887805 + 8d783e8 commit e6959f0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion acme.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env sh

VER=3.0.3
VER=3.0.4

PROJECT_NAME="acme.sh"

Expand Down Expand Up @@ -2691,6 +2691,13 @@ _initAPI() {
return 1
}

_clearCA() {
export ACME_DIRECTORY=
export CA_CONF=
export ACCOUNT_KEY_PATH=
export ACCOUNT_JSON_PATH=
}

#[domain] [keylength or isEcc flag]
_initpath() {
domain="$1"
Expand Down Expand Up @@ -5357,6 +5364,7 @@ renew() {
#renewAll [stopRenewOnError]
renewAll() {
_initpath
_clearCA
_stopRenewOnError="$1"
_debug "_stopRenewOnError" "$_stopRenewOnError"
_ret="0"
Expand Down

0 comments on commit e6959f0

Please sign in to comment.