Skip to content

Commit

Permalink
Merge pull request #1749 from Neilpang/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
neil authored Jul 26, 2018
2 parents c38ef90 + 0bc5566 commit 91391fb
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions acme.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env sh

VER=2.7.9
VER=2.8.0

PROJECT_NAME="acme.sh"

Expand Down Expand Up @@ -1374,17 +1374,17 @@ _url_replace() {
}

_time2str() {
#Linux
if date -u -d@"$1" 2>/dev/null; then
#BSD
if date -u -r "$1" 2>/dev/null; then
return
fi

#BSD
if date -u -r "$1" 2>/dev/null; then
#Linux
if date -u -d@"$1" 2>/dev/null; then
return
fi

#Soaris
#Solaris
if _exists adb; then
_t_s_a=$(echo "0t${1}=Y" | adb)
echo "$_t_s_a"
Expand Down Expand Up @@ -1899,6 +1899,7 @@ _send_signed_request() {

if _contains "$_body" "JWS has invalid anti-replay nonce" || _contains "$_body" "JWS has an invalid anti-replay nonce"; then
_info "It seems the CA server is busy now, let's wait and retry."
_CACHED_NONCE=""
_sleep 5
continue
fi
Expand Down

0 comments on commit 91391fb

Please sign in to comment.