Skip to content

Commit 7147c86

Browse files
committed
Use SHA256 instead of SHA1 were possible during RSA NoDigestInfo testing
1 parent 0abc834 commit 7147c86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/hazmat/primitives/test_rsa.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1582,7 +1582,7 @@ class TestRSAPKCS1Verification:
15821582
"SigGen15_186-3.rsp",
15831583
"SigVer15_186-3.rsp",
15841584
],
1585-
hashes.SHA1(),
1585+
hashes.SHA256(),
15861586
lambda params, hash_alg: padding.PKCS1v15(),
15871587
)
15881588
)

0 commit comments

Comments
 (0)