Skip to content
Open
Changes from 12 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion tests/core/lib/test_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
SslEngine,
SslLibrary,
create_tcp_socket,
is_weak_cipher_suite,
is_weak_hash_algo,
is_weak_ssl_version,
is_weak_cipher_suite,
)


Expand Down Expand Up @@ -463,6 +463,13 @@ def test_is_weak_cipher_suite_ssl_error(self, mock_context, mock_socket, connect
("sha1", True),
("test_algo", False),
("sha256", False),
("md2WithRSAEncryption", True),
("md4WithRSAEncryption", True),
("md5WithRSAEncryption", True),
("sha1WithRSAEncryption", True),
("SHA1WithRSAEncryption", True),
("MD5WithRSAEncryption", True),
("sha256WithRSAEncryption", False),
],
)
def test_is_weak_hash_algo(self, algo, expected):
Expand Down
Loading