From 68b40906e0fa2a3f29521ded880f1620e1a4efeb Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Thu, 10 Mar 2016 09:38:03 -0400 Subject: HMAC_CTX_new doesn't need commented out code for no reason --- src/_cffi_src/openssl/hmac.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/_cffi_src/openssl/hmac.py b/src/_cffi_src/openssl/hmac.py index 42e5cfb6..bcc8a861 100644 --- a/src/_cffi_src/openssl/hmac.py +++ b/src/_cffi_src/openssl/hmac.py @@ -87,11 +87,6 @@ HMAC_CTX *Cryptography_HMAC_CTX_new(void) { /* This uses OPENSSL_zalloc in 1.1.0, which is malloc + memset */ HMAC_CTX *ctx = (HMAC_CTX *)OPENSSL_malloc(sizeof(HMAC_CTX)); memset(ctx, 0, sizeof(HMAC_CTX)); - /*if (ctx) - if (!HMAC_CTX_reset(ctx)) { - HMAC_CTX_free(ctx); - ctx = NULL; - }*/ return ctx; #endif } -- cgit v1.2.3