mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-06 00:39:44 +01:00
Merge pull request #1042 from dcooper16/non_http_crldp
non-HTTP cRLDistributionPoints
This commit is contained in:
commit
da49603c46
@ -1431,6 +1431,8 @@ check_revocation_crl() {
|
|||||||
local tmpfile=""
|
local tmpfile=""
|
||||||
|
|
||||||
"$PHONE_OUT" || return 0
|
"$PHONE_OUT" || return 0
|
||||||
|
# The code for obtaining CRLs only supports HTTP and HTTPS URLs.
|
||||||
|
[[ "$(tolower "${crl:0:4}")" == "http" ]] || return 0
|
||||||
tmpfile=$TEMPDIR/${NODE}-${NODEIP}.${crl##*\/} || exit $ERR_FCREATE
|
tmpfile=$TEMPDIR/${NODE}-${NODEIP}.${crl##*\/} || exit $ERR_FCREATE
|
||||||
|
|
||||||
http_get "$crl" "$tmpfile"
|
http_get "$crl" "$tmpfile"
|
||||||
|
Loading…
Reference in New Issue
Block a user