diff options
| author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-03-18 07:57:26 -0400 | 
|---|---|---|
| committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-03-18 07:57:26 -0400 | 
| commit | e66f69af6aa989b721aeb1c612b38b0fd4a374e0 (patch) | |
| tree | 1ef46765157144a2959fa0ce7d54af777b5c3c50 /tests/utils.py | |
| parent | 61666eb11ac6c7acedf1a5ff9931d1be9e8facfe (diff) | |
| download | cryptography-e66f69af6aa989b721aeb1c612b38b0fd4a374e0.tar.gz cryptography-e66f69af6aa989b721aeb1c612b38b0fd4a374e0.tar.bz2 cryptography-e66f69af6aa989b721aeb1c612b38b0fd4a374e0.zip  | |
py3 fix
Diffstat (limited to 'tests/utils.py')
| -rw-r--r-- | tests/utils.py | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/utils.py b/tests/utils.py index 2fdff0b9..4d6882c2 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -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  | 
