commit | b3b0fbe2fb4f3c6939c05ff90e0201fb78c51074 | [log] [tgz] |
---|---|---|
author | Alex Gaynor <alex.gaynor@gmail.com> | Fri Jun 26 19:57:18 2015 -0400 |
committer | Alex Gaynor <alex.gaynor@gmail.com> | Fri Jun 26 19:57:18 2015 -0400 |
tree | e8b8a504fe64179906ce965467a46d520eb4438d | |
parent | 354fc56e6a9781f3f2213537c3c65d7e720dfcb4 [diff] [blame] |
Make the parameter ordering in sign() consistent with other code
diff --git a/src/cryptography/x509.py b/src/cryptography/x509.py index 21e18dd..51e25f7 100644 --- a/src/cryptography/x509.py +++ b/src/cryptography/x509.py
@@ -1478,7 +1478,7 @@ 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. """