diff options
author | Jack Lloyd <[email protected]> | 2015-10-22 09:59:53 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2015-10-22 09:59:53 -0400 |
commit | 69a5a56b38a309241126641149471a36137507a0 (patch) | |
tree | cfbe07fea29a55eaaa37edf1d80e32ac6a3d696d /src/python/botan.py | |
parent | 00699302e9da4aa184115d9148b62b9affc3f029 (diff) |
Add workaround for Python 3.2/3.3 behavior in binascii. GH #305
Diffstat (limited to 'src/python/botan.py')
-rwxr-xr-x | src/python/botan.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/botan.py b/src/python/botan.py index 628a68040..95b71d6bc 100755 --- a/src/python/botan.py +++ b/src/python/botan.py @@ -87,7 +87,7 @@ def hex_encode(buf): return hexlify(buf).decode('ascii') def hex_decode(buf): - return unhexlify(buf) + return unhexlify(buf.encode('ascii')) """ Versions |