Remove the remainder of util/mk1mf.pl and companion scripts
[openssl.git] / engines / afalg / e_afalg.c
index 51ae68ddc1c47264ca5d6b03670484cb9653a47f..3ccf9d517c3134bd6985966c772a8ee23ba08ac3 100644 (file)
@@ -60,6 +60,7 @@
 
 #include <openssl/engine.h>
 #include <openssl/async.h>
+#include <openssl/err.h>
 
 #include <linux/version.h>
 #define K_MAJ   4
@@ -844,6 +845,8 @@ static int afalg_finish(ENGINE *e)
 static int afalg_destroy(ENGINE *e)
 {
     ERR_unload_AFALG_strings();
+    EVP_CIPHER_meth_free(_hidden_aes_128_cbc);
+    _hidden_aes_128_cbc = NULL;
     return 1;
 }