Another silly error. dev oremanj prod 0.0.13
authorJoshua Oreman <oremanj@rwcr.net>
Tue, 15 Mar 2011 04:12:19 +0000 (00:12 -0400)
committerJoshua Oreman <oremanj@rwcr.net>
Tue, 15 Mar 2011 04:12:19 +0000 (00:12 -0400)
debian/changelog
python/vnc/extauth.py

index f9fca60..8adb1b6 100644 (file)
@@ -1,3 +1,9 @@
+invirt-vnc-server (0.0.13) unstable; urgency=low
+
+  * Another silly error.
+
+ -- Joshua Oreman <oremanj@mit.edu>  Tue, 15 Mar 2011 00:08:51 -0400
+
 invirt-vnc-server (0.0.12) unstable; urgency=low
 
   * UnpicklingError, not UnpickleError.
index c986771..be19570 100644 (file)
@@ -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"]