in set_issuer(), get replace get_issuer() with get_subject()
[sfa.git] / 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