mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
py3 fix
This commit is contained in:
parent
61666eb11a
commit
e66f69af6a
1 changed files with 2 additions and 2 deletions
|
|
@ -336,7 +336,7 @@ def load_rsa_nist_vectors(vector_data):
|
|||
"modulus": n,
|
||||
"public_exponent": e,
|
||||
"salt_length": salt_length,
|
||||
"algorithm": value.encode("ascii"),
|
||||
"algorithm": value,
|
||||
"fail": False
|
||||
}
|
||||
else:
|
||||
|
|
@ -344,7 +344,7 @@ def load_rsa_nist_vectors(vector_data):
|
|||
"modulus": n,
|
||||
"p": p,
|
||||
"q": q,
|
||||
"algorithm": value.encode("ascii")
|
||||
"algorithm": value
|
||||
}
|
||||
if salt_length is not None:
|
||||
test_data["salt_length"] = salt_length
|
||||
|
|
|
|||
Loading…
Reference in a new issue