aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-08-03 13:55:41 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-08-03 13:55:41 -0400
commitb45c79b69d75c0e1dc69e941f67c3eaa4326a443 (patch)
tree8240d0cd72de8f74c8c0b41b5b2b607d6fe69b24 /src
parent05db69f2a4c86b1e43a7af70a95e1a223982f658 (diff)
parentb8f11bca26c1819ccdfb2a36e18375b19a91e5da (diff)
downloadcryptography-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.py2
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.
"""