8a120e1128
0.7.1 - 2014-12-28 ~~~~~~~~~~~~~~~~~~ * Fixed an issue preventing compilation on platforms where ``OPENSSL_NO_SSL3`` was defined. 0.7 - 2014-12-17 ~~~~~~~~~~~~~~~~ * Cryptography has been relicensed from the Apache Software License, Version 2.0, to being available under *either* the Apache Software License, Version 2.0, or the BSD license. * Added key-rotation support to :doc:`Fernet </fernet>` with :class:`~cryptography.fernet.MultiFernet`. * More bit-lengths are now support for ``p`` and ``q`` when loading DSA keys from numbers. * Added :class:`~cryptography.hazmat.primitives.interfaces.MACContext` as a common interface for CMAC and HMAC and deprecated :class:`~cryptography.hazmat.primitives.interfaces.CMACContext`. * Added support for encoding and decoding :rfc:`6979` signatures in :doc:`/hazmat/primitives/asymmetric/utils`. * Added :func:`~cryptography.hazmat.primitives.serialization.load_ssh_public_key` to support the loading of OpenSSH public keys (:rfc:`4253`). Only RSA and DSA keys are currently supported. * Added initial support for X.509 certificate parsing. See the :doc:`X.509 documentation</x509>` for more information.
15 lines
604 B
Python
15 lines
604 B
Python
$NetBSD: patch-src_cryptography_hazmat_primitives_constant__time.py,v 1.1 2015/01/03 16:00:55 wiz Exp $
|
|
|
|
Fix soname so cffi doesn't invent one for each python version + platform.
|
|
|
|
--- src/cryptography/hazmat/primitives/constant_time.py.orig 2014-12-29 01:46:47.000000000 +0000
|
|
+++ src/cryptography/hazmat/primitives/constant_time.py
|
|
@@ -17,7 +17,7 @@ with open(os.path.join(os.path.dirname(_
|
|
FUNCTIONS = f.read()
|
|
|
|
|
|
-_ffi = build_ffi(cdef_source=TYPES, verify_source=FUNCTIONS)
|
|
+_ffi = build_ffi(cdef_source=TYPES, verify_source=FUNCTIONS, module_name='constanttime')
|
|
_lib = LazyLibrary(_ffi)
|
|
|
|
|