Skip to content

Commit

Permalink
Readded sanity test for tlsfun, placeholder edition
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamietti authored Aug 17, 2016
1 parent f02e139 commit d1e85da
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions runners/trytls/bundles/https.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,16 @@ def tlsfun_tests():
if res.type != results.Pass:
forced_result = results.Skip("could not detect SNI support")

res = yield Test(
accept=False,
description="self-signed certificate (temporarily using badssl.com)",
host="self-signed.badssl.com",
port=443,
forced_result=forced_result
)
if res.type != results.Pass and not forced_result:
forced_result = results.Skip("stub didn't reject a self-signed certificate")

yield testgroup(
tlsfun(False, "badcert-edell", "eDellRoot CA #2", forced_result)
)
Expand Down

0 comments on commit d1e85da

Please sign in to comment.