From e66f69af6aa989b721aeb1c612b38b0fd4a374e0 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 18 Mar 2014 07:57:26 -0400 Subject: py3 fix --- tests/utils.py | 4 ++-- 1 file 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 -- cgit v1.2.3