aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/bignum.py
diff options
context:
space:
mode:
authorTux <tuxxy@users.noreply.github.com>2018-01-05 15:44:54 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2018-01-05 17:44:54 -0500
commitfbb0c12c87931c3c31bb9cc2c221ae3d6f2f63b5 (patch)
tree2df3ff01a55efad498835e30539b6c391af0f4ef /src/_cffi_src/openssl/bignum.py
parentbade58f1566683cb5b110b341e01e3d3397b972f (diff)
downloadcryptography-fbb0c12c87931c3c31bb9cc2c221ae3d6f2f63b5.tar.gz
cryptography-fbb0c12c87931c3c31bb9cc2c221ae3d6f2f63b5.tar.bz2
cryptography-fbb0c12c87931c3c31bb9cc2c221ae3d6f2f63b5.zip
Expose `BN_clear_free` in the OpenSSL backend (#4071)
* Expose BN_clear_free * Use BN_clear_free in test_int_to_bn
Diffstat (limited to 'src/_cffi_src/openssl/bignum.py')
-rw-r--r--src/_cffi_src/openssl/bignum.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/bignum.py b/src/_cffi_src/openssl/bignum.py
index fb33c459..e0d87ae1 100644
--- a/src/_cffi_src/openssl/bignum.py
+++ b/src/_cffi_src/openssl/bignum.py
@@ -17,6 +17,7 @@ typedef int... BN_ULONG;
FUNCTIONS = """
BIGNUM *BN_new(void);
void BN_free(BIGNUM *);
+void BN_clear_free(BIGNUM *);
BN_CTX *BN_CTX_new(void);
void BN_CTX_free(BN_CTX *);