mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
fixed verify script that couldn't have ever worked (#5443)
This commit is contained in:
parent
31a5da73f8
commit
63dfc57fca
1 changed files with 2 additions and 2 deletions
|
|
@ -35,12 +35,12 @@ def verify_one_vector(vector):
|
|||
signature, ec.ECDSA(CRYPTOGRAPHY_HASH_TYPES[digest_algorithm]())
|
||||
)
|
||||
verifier.update(message)
|
||||
return verifier.verify()
|
||||
verifier.verify()
|
||||
|
||||
|
||||
def verify_vectors(vectors):
|
||||
for vector in vectors:
|
||||
assert verify_one_vector(vector)
|
||||
verify_one_vector(vector)
|
||||
|
||||
|
||||
vector_path = os.path.join("asymmetric", "ECDSA", "SECP256K1", "SigGen.txt")
|
||||
|
|
|
|||
Loading…
Reference in a new issue