diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-08-03 13:55:41 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-08-03 13:55:41 -0400 |
commit | b45c79b69d75c0e1dc69e941f67c3eaa4326a443 (patch) | |
tree | 8240d0cd72de8f74c8c0b41b5b2b607d6fe69b24 /src | |
parent | 05db69f2a4c86b1e43a7af70a95e1a223982f658 (diff) | |
parent | b8f11bca26c1819ccdfb2a36e18375b19a91e5da (diff) | |
download | cryptography-b45c79b69d75c0e1dc69e941f67c3eaa4326a443.tar.gz cryptography-b45c79b69d75c0e1dc69e941f67c3eaa4326a443.tar.bz2 cryptography-b45c79b69d75c0e1dc69e941f67c3eaa4326a443.zip |
Merge pull request #2196 from reaperhulk/reorder-certbuilder-args
reorder CertificateBuilder sign arguments
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptography/x509.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptography/x509.py b/src/cryptography/x509.py index a831506e..f35582b0 100644 --- a/src/cryptography/x509.py +++ b/src/cryptography/x509.py @@ -1740,7 +1740,7 @@ class CertificateBuilder(object): self._not_valid_after, self._extensions + [extension] ) - def sign(self, backend, private_key, algorithm): + def sign(self, private_key, algorithm, backend): """ Signs the certificate using the CA's private key. """ |