summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2015-07-16 15:45:29 +0200
committerPeter Wu <peter@lekensteyn.nl>2015-07-16 15:45:29 +0200
commit7efac0d9d0a8fa71a33565f62401a3b62b6c5372 (patch)
treec6aa21b8127f061703626953d9b2ed89922757d5 /src
parent5af438f6128ea2608aa5983d4af7f9c46c2feaf0 (diff)
downloadwireshark-notes-7efac0d9d0a8fa71a33565f62401a3b62b6c5372.tar.gz
sslkeylog.py: fix writing header
Diffstat (limited to 'src')
-rw-r--r--src/sslkeylog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sslkeylog.py b/src/sslkeylog.py
index 46107f3..9fd2d39 100644
--- a/src/sslkeylog.py
+++ b/src/sslkeylog.py
@@ -155,7 +155,7 @@ class Keylog(object):
else:
raise
if needs_header(f):
- f.write(_SSL_KEYLOG_HEADER)
+ f.write(_SSL_KEYLOG_HEADER.encode('ascii'))
return cls(f)
# A shared Keylog instance.