in set_issuer(), get replace get_issuer() with get_subject()
authorTony Mack <tmack@cs.princeton.edu>
Thu, 6 May 2010 23:11:35 +0000 (23:11 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Thu, 6 May 2010 23:11:35 +0000 (23:11 +0000)
sfa/trust/certificate.py

index 8150ae1..76b99db 100644 (file)
@@ -327,7 +327,7 @@ class Certificate:
              self.issuerReq = req
        if cert:
           # if a cert was supplied, then get the subject from the cert
-          subject = cert.cert.get_issuer()
+          subject = cert.cert.get_subject()
        assert(subject)
        self.issuerSubject = subject