Commit 19d126fb authored by Vincent Pelletier's avatar Vincent Pelletier

ca: Fold single-use local.

parent d5b2eb4e
...@@ -691,10 +691,9 @@ class CertificateAuthority(object): ...@@ -691,10 +691,9 @@ class CertificateAuthority(object):
csr_pem (str) csr_pem (str)
PEM-encoded certificate signing request. PEM-encoded certificate signing request.
""" """
ca_cert_list = self.getCACertificateList()
crt = utils.load_certificate( crt = utils.load_certificate(
crt_pem, crt_pem,
ca_cert_list, self.getCACertificateList(),
x509.load_pem_x509_crl( x509.load_pem_x509_crl(
self.getCertificateRevocationList(), self.getCertificateRevocationList(),
_cryptography_backend, _cryptography_backend,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment