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:
parent
d06e6eec79
commit
44d0b4bdfd
1 changed files with 1 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue