From 9dad09631ff778a4dbcf174eaf2a2bb364ecb2f6 Mon Sep 17 00:00:00 2001 From: Joshua Oreman Date: Tue, 15 Mar 2011 00:12:19 -0400 Subject: [PATCH 1/1] Another silly error. --- debian/changelog | 6 ++++++ python/vnc/extauth.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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"] -- 1.7.9.5