match issuer ignoring case
This commit is contained in:
parent
8d0e485120
commit
fdb96e91f1
5
acme.sh
5
acme.sh
@ -4006,6 +4006,11 @@ _match_issuer() {
|
|||||||
_missuer="$2"
|
_missuer="$2"
|
||||||
_fissuers="$(_get_cert_issuers $_cfile)"
|
_fissuers="$(_get_cert_issuers $_cfile)"
|
||||||
_debug2 _fissuers "$_fissuers"
|
_debug2 _fissuers "$_fissuers"
|
||||||
|
if _contains "$_fissuers" "$_missuer"; then
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
|
_fissuers="$(echo "$_fissuers" | _lower_case)"
|
||||||
|
_missuer="$(echo "$_missuer" | _lower_case)"
|
||||||
_contains "$_fissuers" "$_missuer"
|
_contains "$_fissuers" "$_missuer"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user