Move cipher ctx 'original iv' parameter into the provider
[oweals/openssl.git] / providers / common / ciphers / cipher_aes_gcm.c
index ba03bed59078b7813ace5adb322ef134b4db5314..ef015bff21544ea5b6cef44ff2a869e945fd0d06 100644 (file)
@@ -27,7 +27,6 @@ static void aes_gcm_freectx(void *vctx)
 {
     PROV_AES_GCM_CTX *ctx = (PROV_AES_GCM_CTX *)vctx;
 
-    gcm_deinitctx((PROV_GCM_CTX *)ctx);
     OPENSSL_clear_free(ctx,  sizeof(*ctx));
 }