summaryrefslogtreecommitdiff
path: root/security/py-gpsoauth/files/patch-gpsoauth_google.py
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2017-04-22 11:45:12 +0000
committerThomas Zander <riggs@FreeBSD.org>2017-04-22 11:45:12 +0000
commit5945186baa7cf92865d292fc0e291469dc355c51 (patch)
tree1fad520943d50890886fdf47bffa722dcfe32557 /security/py-gpsoauth/files/patch-gpsoauth_google.py
parentFix PLIST (diff)
Update to upstream version 0.4.1; use security/py-pycryptodome
Notes
Notes: svn path=/head/; revision=439164
Diffstat (limited to 'security/py-gpsoauth/files/patch-gpsoauth_google.py')
-rw-r--r--security/py-gpsoauth/files/patch-gpsoauth_google.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/py-gpsoauth/files/patch-gpsoauth_google.py b/security/py-gpsoauth/files/patch-gpsoauth_google.py
new file mode 100644
index 000000000000..231c5dcae6e8
--- /dev/null
+++ b/security/py-gpsoauth/files/patch-gpsoauth_google.py
@@ -0,0 +1,13 @@
+--- 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
+