From d7f5095042de3199f64fa7fb04e6c1c62c44325b Mon Sep 17 00:00:00 2001 From: Dirk Wetter Date: Fri, 10 Jul 2026 13:40:03 +0200 Subject: [PATCH] Exempt MacOS with LibreSSL to run STARTTLS via LDAP --- t/21_baseline_starttls.t | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/t/21_baseline_starttls.t b/t/21_baseline_starttls.t index 0946a52..7feffc6 100755 --- a/t/21_baseline_starttls.t +++ b/t/21_baseline_starttls.t @@ -122,14 +122,17 @@ $socket_out =~ s/ error querying OCSP responder .*\n//g; unlike($socket_out, qr/$socket_regex_bl/, ""); $tests++; -#7 -# https://ldapwiki.com/wiki/Public%20LDAP%20Servers -$uri="db.debian.org:389"; -printf "\n%s\n", "STARTTLS LDAP unit tests via sockets --> $uri ..."; -$socket_out = `$prg $check2run -t ldap $uri 2>&1`; -# $socket_json = json('tmp.json'); -unlike($socket_out, qr/$socket_regex_bl/, ""); -$tests++; +# /usr/bin/openssl on MacOS doesn't seem to be availabe (anymore) +if ( $os ne "darwin" ){ + #7 + # https://ldapwiki.com/wiki/Public%20LDAP%20Servers + $uri="db.debian.org:389"; + printf "\n%s\n", "STARTTLS LDAP unit tests via sockets --> $uri ..."; + $socket_out = `$prg $check2run -t ldap $uri 2>&1`; + # $socket_json = json('tmp.json'); + unlike($socket_out, qr/$socket_regex_bl/, ""); + $tests++; +} # For NNTP there doesn't seem to be reliable host out there #$uri="144.76.182.167:119";