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
committed by Andreas Rumpf
parent d06e6eec79
commit 44d0b4bdfd

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)