opnsense-ports/security/py-ed25519ll/files/patch-ed25519ll__ed25519ct.py
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

13 lines
541 B
Python

--- ./ed25519ll/ed25519ct.py.orig 2013-07-26 11:26:29.000000000 +0200
+++ ./ed25519ll/ed25519ct.py 2013-07-26 11:26:43.000000000 +0200
@@ -15,9 +15,8 @@
__all__ = ['crypto_sign', 'crypto_sign_open', 'crypto_sign_keypair', 'Keypair',
'PUBLICKEYBYTES', 'SECRETKEYBYTES', 'SIGNATUREBYTES']
-plat_name = get_platform().replace('-', '_')
so_suffix = sysconfig.get_config_var('SO')
-lib_filename = '_ed25519_%s%s' % (plat_name, so_suffix)
+lib_filename = '_ed25519%s' % (so_suffix)
try:
_ed25519 = ctypes.cdll.LoadLibrary(