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
33226307
Commit
33226307
authored
Sep 25, 2018
by
neilpang
Browse files
minor, debug msg
parent
150029a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
33226307
...
...
@@ -1809,14 +1809,14 @@ _send_signed_request() {
if
[
-z
"
$_CACHED_NONCE
"
]
;
then
_headers
=
""
if
[
"
$ACME_NEW_NONCE
"
]
;
then
_debug2
"Get nonce. ACME_NEW_NONCE"
"
$ACME_NEW_NONCE
"
_debug2
"Get nonce
with HEAD
. ACME_NEW_NONCE"
"
$ACME_NEW_NONCE
"
nonceurl
=
"
$ACME_NEW_NONCE
"
if
_post
""
"
$nonceurl
"
""
"HEAD"
"
$__request_conent_type
"
;
then
_headers
=
"
$(
cat
"
$HTTP_HEADER
"
)
"
fi
fi
if
[
-z
"
$_headers
"
]
;
then
_debug2
"Get nonce. ACME_DIRECTORY"
"
$ACME_DIRECTORY
"
_debug2
"Get nonce
with GET
. ACME_DIRECTORY"
"
$ACME_DIRECTORY
"
nonceurl
=
"
$ACME_DIRECTORY
"
_headers
=
"
$(
_get
"
$nonceurl
"
"onlyheader"
)
"
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