summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--revoke_crt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/revoke_crt.py b/revoke_crt.py
index c2a1d63..2f37524 100644
--- a/revoke_crt.py
+++ b/revoke_crt.py
@@ -101,7 +101,7 @@ openssl dgst -sha256 -sign user.key -out {0} {1}
sys.stderr.write("Error: crt_data:\n")
sys.stderr.write(crt_data)
sys.stderr.write("\n")
- sys.stderr.write(e.read())
+ sys.stderr.write(e.read().decode())
sys.stderr.write("\n")
raise
sys.stderr.write("Certificate revoked!\n")