mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
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"
|
||||
_fissuers="$(_get_cert_issuers $_cfile)"
|
||||
_debug2 _fissuers "$_fissuers"
|
||||
if _contains "$_fissuers" "$_missuer"; then
|
||||
return 0
|
||||
fi
|
||||
_fissuers="$(echo "$_fissuers" | _lower_case)"
|
||||
_missuer="$(echo "$_missuer" | _lower_case)"
|
||||
_contains "$_fissuers" "$_missuer"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user