thttpclient_ssl: be less specific

The error we're looking for is "certificate verify failed". The routine
that reports this will be different between openssl versions, so it
makes no sense to track the routine name as well.
This commit is contained in:
Leorize
2020-06-01 21:20:14 -05:00
parent ee3ed37300
commit 579a1327c1

View File

@@ -125,7 +125,6 @@ when not defined(windows):
log "client: exception: " & msg
# SSL_shutdown:shutdown while in init
if not (msg.contains("alert number 48") or
msg.contains("routines:CONNECT_CR_CERT:certificate verify failed") or
msg.contains("routines:tls_process_server_certificate:certificate verify failed")):
msg.contains("certificate verify failed")):
echo "CVerifyPeer exception: " & msg
check(false)