From: Joshua Oreman Date: Tue, 15 Mar 2011 04:12:19 +0000 (-0400) Subject: Another silly error. X-Git-Tag: 0.0.13^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-vnc-server.git/commitdiff_plain/refs/heads/dev Another silly error. --- diff --git a/debian/changelog b/debian/changelog index f9fca60..8adb1b6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-vnc-server (0.0.13) unstable; urgency=low + + * Another silly error. + + -- Joshua Oreman Tue, 15 Mar 2011 00:08:51 -0400 + invirt-vnc-server (0.0.12) unstable; urgency=low * UnpicklingError, not UnpickleError. diff --git a/python/vnc/extauth.py b/python/vnc/extauth.py index c986771..be19570 100644 --- a/python/vnc/extauth.py +++ b/python/vnc/extauth.py @@ -69,7 +69,7 @@ class VNCAuth(protocol.Protocol): m = hmac.new(getTokenKey(), digestmod=sha) m.update(pickled_data) if (m.digest() == digest): - data = cPickle.loads(token['data']) + data = cPickle.loads(pickled_data) expires = data["expires"] if (time.time() < expires): self.auth = data["user"]