Skip to content

Commit

Permalink
skip legacy hashes as they brake python compiled against openssl 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tomato42 committed Apr 2, 2022
1 parent f4b80fc commit 82da89c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/ecdsa/test_malformed_sigs.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@
"sha384",
"sha512",
]
# skip algorithms broken by change to OpenSSL 3.0 and early versions
# of hashlib that list algorithms that require the legacy provider to work
# https://bugs.python.org/issue38820
algorithms_available = [
i
for i in algorithms_available
if i not in ("mdc2", "md2", "md4", "whirlpool", "ripemd160")
]
from functools import partial
import pytest
import sys
Expand Down

0 comments on commit 82da89c

Please sign in to comment.