From 0bb1767cc47db75b6d8127fcaffd5edaa4806e00 Mon Sep 17 00:00:00 2001 From: Frank Breedijk Date: Wed, 18 Oct 2017 08:22:51 +0200 Subject: [PATCH] This should return it to normal --- testssl.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testssl.sh b/testssl.sh index 5723492..cf76d3a 100755 --- a/testssl.sh +++ b/testssl.sh @@ -6569,12 +6569,13 @@ certificate_info() { out "$indent"; pr_bold " DNS CAA RR"; out " (experimental) " - caa_node="$NODE." + caa_node="$NODE" caa="" while ( [[ -z "$caa" ]] && [[ ! -z "$caa_node" ]] ); do caa="$(get_caa_rr_record $caa_node)" caa_node="$(echo "$caa_node."|cut -f 2- -d '.'|sed 's/\.$//')" done + if [[ -n "$caa" ]]; then pr_done_good "OK"; out " (" ; pr_italic "$caa"; out ")" fileout "${json_prefix}CAA_record" "OK" "DNS Certification Authority Authorization (CAA) Resource Record / RFC6844 : \"$caa\" "