diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-03-10 09:37:23 -0400 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2016-03-10 09:38:27 -0400 |
commit | 851b7f002aaf0781bf1590e8e212c8dff0e25de1 (patch) | |
tree | cf6d73ebd3fb86067721ee9f85b178446b13989b /src | |
parent | f2e972d50dd951556af9694ecac9c9a00097e3f3 (diff) | |
download | cryptography-851b7f002aaf0781bf1590e8e212c8dff0e25de1.tar.gz cryptography-851b7f002aaf0781bf1590e8e212c8dff0e25de1.tar.bz2 cryptography-851b7f002aaf0781bf1590e8e212c8dff0e25de1.zip |
simplify HMAC_CTX_free
Diffstat (limited to 'src')
-rw-r--r-- | src/_cffi_src/openssl/hmac.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/_cffi_src/openssl/hmac.py b/src/_cffi_src/openssl/hmac.py index 610e32a6..42e5cfb6 100644 --- a/src/_cffi_src/openssl/hmac.py +++ b/src/_cffi_src/openssl/hmac.py @@ -103,10 +103,6 @@ void Cryptography_HMAC_CTX_free(HMAC_CTX *ctx) { return HMAC_CTX_free(ctx); #else if (ctx != NULL) { - ctx->md = NULL; - ctx->key_length = 0; - memset(ctx->key, 0, sizeof(HMAC_MAX_MD_CBLOCK)); - HMAC_CTX_cleanup(ctx); OPENSSL_free(ctx); } |