summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/mozilla-django-oidc/cryptography.patch
blob: 2217168cc026272f85e28193a45e9df7f6a6069f (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/tests/test_auth.py
+++ b/tests/test_auth.py
@@ -1234,7 +1234,7 @@ class OIDCAuthenticationBackendES256WithJwksEndpointTestCase(TestCase):
         self.backend = OIDCAuthenticationBackend()
 
         # Generate a private key to create a test token with
-        private_key = ec.generate_private_key(ec.SECP256R1, default_backend())
+        private_key = ec.generate_private_key(ec.SECP256R1(), default_backend())
         private_key_pem = private_key.private_bytes(
             serialization.Encoding.PEM,
             serialization.PrivateFormat.PKCS8,