aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-06-26 19:57:18 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2015-06-26 19:57:18 -0400
commitb3b0fbe2fb4f3c6939c05ff90e0201fb78c51074 (patch)
treee8b8a504fe64179906ce965467a46d520eb4438d /src
parent354fc56e6a9781f3f2213537c3c65d7e720dfcb4 (diff)
downloadcryptography-b3b0fbe2fb4f3c6939c05ff90e0201fb78c51074.tar.gz
cryptography-b3b0fbe2fb4f3c6939c05ff90e0201fb78c51074.tar.bz2
cryptography-b3b0fbe2fb4f3c6939c05ff90e0201fb78c51074.zip
Make the parameter ordering in sign() consistent with other code
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 21e18ddd..51e25f7a 100644
--- a/src/cryptography/x509.py
+++ b/src/cryptography/x509.py
@@ -1478,7 +1478,7 @@ class CertificateSigningRequestBuilder(object):
self._subject_name, self._extensions + [extension]
)
- def sign(self, backend, private_key, algorithm):
+ def sign(self, private_key, algorithm, backend):
"""
Signs the request using the requestor's private key.
"""