From 1ce95c7ad86a5372a40559a3d8041b8cae6e7fa5 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Wed, 16 Jan 2019 21:12:43 +0000 Subject: [PATCH] cryptsuite: another Python 3 compatibility fix. Ahem. Re-broke P3 compatibility later in the same batch of commits that fixed it! --- test/cryptsuite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cryptsuite.py b/test/cryptsuite.py index 92831946..281f3aab 100755 --- a/test/cryptsuite.py +++ b/test/cryptsuite.py @@ -970,7 +970,7 @@ class crypt(MyTestBase): def pattern(badblk, otherblks, pat): # Arrange copies of the bad block in a pattern # corresponding to the given bit string. - retstr = "" + retstr = b"" while pat != 0: retstr += (badblk if pat & 1 else next(otherblks)) pat >>= 1