Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
91391fba
Unverified
Commit
91391fba
authored
Jul 26, 2018
by
neil
Committed by
GitHub
Jul 26, 2018
Browse files
Merge pull request #1749 from Neilpang/dev
Dev
parents
c38ef902
0bc55661
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
91391fba
#!/usr/bin/env sh
#!/usr/bin/env sh
VER=2.
7.9
VER=2.
8.0
PROJECT_NAME="acme.sh"
PROJECT_NAME="acme.sh"
...
@@ -1374,17 +1374,17 @@ _url_replace() {
...
@@ -1374,17 +1374,17 @@ _url_replace() {
}
}
_time2str() {
_time2str() {
#
Linux
#
BSD
if date -u -
d@
"$1" 2>/dev/null; then
if date -u -
r
"$1" 2>/dev/null; then
return
return
fi
fi
#
BSD
#
Linux
if date -u -
r
"$1" 2>/dev/null; then
if date -u -
d@
"$1" 2>/dev/null; then
return
return
fi
fi
#Soaris
#So
l
aris
if _exists adb; then
if _exists adb; then
_t_s_a=$(echo "0t${1}=Y" | adb)
_t_s_a=$(echo "0t${1}=Y" | adb)
echo "$_t_s_a"
echo "$_t_s_a"
...
@@ -1899,6 +1899,7 @@ _send_signed_request() {
...
@@ -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
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."
_info "It seems the CA server is busy now, let's wait and retry."
_CACHED_NONCE=""
_sleep 5
_sleep 5
continue
continue
fi
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment