commit | 2514868e86241ceedf1ebbfd6b44eff39d285467 | [log] [tgz] |
---|---|---|
author | Jean-Paul Calderone <exarkun@divmod.com> | Fri Aug 21 11:47:50 2009 -0400 |
committer | Jean-Paul Calderone <exarkun@divmod.com> | Fri Aug 21 11:47:50 2009 -0400 |
tree | 3dcab97ecf4a8a9f07f19c1e7fc781c19011491a | |
parent | 55d1ce6709c37050aa4913b21f7dbd432d025267 [diff] [blame] |
binary mode is actually important
diff --git a/test/test_crypto.py b/test/test_crypto.py index 6941719..5acf01d 100644 --- a/test/test_crypto.py +++ b/test/test_crypto.py
@@ -1297,7 +1297,7 @@ args = '"' + '" "'.join(args) + '"' else: args = "'" + "' '".join(args) + "'" - write, read = popen2("openssl " + args) + write, read = popen2("openssl " + args, "b") write.write(pem) write.close() return read.read()