fix bug
authorTony Mack <tmack@cs.princeton.edu>
Thu, 15 Oct 2009 04:05:20 +0000 (04:05 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Thu, 15 Oct 2009 04:05:20 +0000 (04:05 +0000)
sfa/trust/auth.py

index e4483d0..bc2a2e3 100644 (file)
@@ -47,7 +47,7 @@ class Auth:
             raise MissingCallerGID(self.client_cred.get_subject())
        
         # validate the client cert if it exists
-        if peer_cert:
+        if self.peer_cert:
             self.verifyPeerCert()                   
 
         # make sure the client is allowed to perform the operation