From 444abf551334c77f31d28a4cc8d70b9818786451 Mon Sep 17 00:00:00 2001 From: Jonathan Giannuzzi Date: Wed, 19 Mar 2014 16:53:02 +0100 Subject: Add ASN1_TIME_free Required function to solve a memory leak in pyOpenSSL --- cryptography/hazmat/bindings/openssl/asn1.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cryptography/hazmat/bindings/openssl/asn1.py b/cryptography/hazmat/bindings/openssl/asn1.py index 144a893e..dfdf1bf5 100644 --- a/cryptography/hazmat/bindings/openssl/asn1.py +++ b/cryptography/hazmat/bindings/openssl/asn1.py @@ -99,6 +99,7 @@ int i2a_ASN1_INTEGER(BIO *, ASN1_INTEGER *); /* ASN1 TIME */ ASN1_TIME *ASN1_TIME_new(void); +void ASN1_TIME_free(ASN1_TIME *); ASN1_GENERALIZEDTIME *ASN1_TIME_to_generalizedtime(ASN1_TIME *, ASN1_GENERALIZEDTIME **); -- cgit v1.2.3