diff options
Diffstat (limited to 'src/cipher.c')
-rw-r--r-- | src/cipher.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cipher.c b/src/cipher.c index 5040686..d6eae57 100644 --- a/src/cipher.c +++ b/src/cipher.c @@ -241,10 +241,8 @@ void cipher_aesctr_close(cipher_t* c) if(c->params_) { #ifndef USE_SSL_CRYPTO cipher_aesctr_param_t* params = c->params_; - if(params->handle_) - gcry_cipher_close(params->handle_); + gcry_cipher_close(params->handle_); #endif - free(c->params_); } } |