opnsense-ports/security/py-gpsoauth/files/patch-gpsoauth_google.py
Franco Fichtner 9a2c491264 */*: sync with upstream
Taken from: FreeBSD
2017-04-24 06:54:48 +02:00

13 lines
328 B
Python

--- gpsoauth/google.py.orig 2017-02-18 18:11:10 UTC
+++ gpsoauth/google.py
@@ -1,8 +1,8 @@
import base64
import hashlib
-from Cryptodome.PublicKey import RSA
-from Cryptodome.Cipher import PKCS1_OAEP
+from Crypto.PublicKey import RSA
+from Crypto.Cipher import PKCS1_OAEP
from .util import bytes_to_long, long_to_bytes