From b3b0fbe2fb4f3c6939c05ff90e0201fb78c51074 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 26 Jun 2015 19:57:18 -0400 Subject: Make the parameter ordering in sign() consistent with other code --- src/cryptography/x509.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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. """ -- cgit v1.2.3