untestable/thttpclient_ssl: fix 10000-sans test

This commit is contained in:
Leorize
2020-06-01 17:58:55 -05:00
committed by Andreas Rumpf
parent 19ccc5fd8d
commit df91f61e20

View File

@@ -106,7 +106,9 @@ template evaluate(exception_msg: string, category: Category, desc: string) =
exception_msg == "SSL Certificate check failed." or
exception_msg.contains("certificate verify failed") or
exception_msg.contains("key too small") or
exception_msg.contains "alert handshake failure", exception_msg
exception_msg.contains("alert handshake failure") or
# TODO: This one should only triggers for 10000-sans
exception_msg.contains("excessive message size"), exception_msg
else:
# this is unexpected