File: ftbfs.patch

package info (click to toggle)
python-py-vapid 1.9.2-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 236 kB
  • sloc: python: 687; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 451 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Forwarded: https://github.com/web-push-libs/vapid/issues/105

--- a/py_vapid/__init__.py
+++ b/py_vapid/__init__.py
@@ -197,7 +197,7 @@
 
     def generate_keys(self):
         """Generate a valid ECDSA Key Pair."""
-        self.private_key = ec.generate_private_key(ec.SECP256R1,
+        self.private_key = ec.generate_private_key(ec.SECP256R1(),
                                                    default_backend())
 
     def private_pem(self):