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
dbc43550
Unverified
Commit
dbc43550
authored
Jul 07, 2020
by
Licaon_Kter
Committed by
GitHub
Jul 07, 2020
Browse files
Fix typo candindates
parent
f00e2890
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
dbc43550
...
...
@@ -4098,17 +4098,17 @@ $_authorizations_map"
if [ "$ACME_VERSION" = "2" ]; then
_idn_d="$(_idn "$d")"
_candi
n
dates="$(echo "$_authorizations_map" | grep -i "^$_idn_d,")"
_debug2 _candi
n
dates "$_candi
n
dates"
if [ "$(echo "$_candi
n
dates" | wc -l)" -gt 1 ]; then
for _can in $_candi
n
dates; do
_candidates="$(echo "$_authorizations_map" | grep -i "^$_idn_d,")"
_debug2 _candidates "$_candidates"
if [ "$(echo "$_candidates" | wc -l)" -gt 1 ]; then
for _can in $_candidates; do
if _startswith "$(echo "$_can" | tr '.' '|')" "$(echo "$_idn_d" | tr '.' '|'),"; then
_candi
n
dates="$_can"
_candidates="$_can"
break
fi
done
fi
response="$(echo "$_candi
n
dates" | sed "s/$_idn_d,//")"
response="$(echo "$_candidates" | sed "s/$_idn_d,//")"
_debug2 "response" "$response"
if [ -z "$response" ]; then
_err "get to authz error."
...
...
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