projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename lots of *_intern or *_internal function to int_*
[openssl.git]
/
engines
/
afalg
/
e_afalg.c
diff --git
a/engines/afalg/e_afalg.c
b/engines/afalg/e_afalg.c
index 51ae68ddc1c47264ca5d6b03670484cb9653a47f..18daa6e7f83e19b948115a17dc2fa9f736bb8a24 100644
(file)
--- a/
engines/afalg/e_afalg.c
+++ b/
engines/afalg/e_afalg.c
@@
-60,6
+60,7
@@
#include <openssl/engine.h>
#include <openssl/async.h>
#include <openssl/engine.h>
#include <openssl/async.h>
+#include <openssl/err.h>
#include <linux/version.h>
#define K_MAJ 4
#include <linux/version.h>
#define K_MAJ 4
@@
-103,7
+104,7
@@
#define ALG_MAX_SALG_TYPE 14
# ifdef OPENSSL_NO_DYNAMIC_ENGINE
#define ALG_MAX_SALG_TYPE 14
# ifdef OPENSSL_NO_DYNAMIC_ENGINE
-void
engine_load_afalg_internal
(void);
+void
int_engine_load_afalg
(void);
# endif
/* Local Linkage Functions */
# endif
/* Local Linkage Functions */
@@
-815,7
+816,7
@@
static ENGINE *engine_afalg(void)
return ret;
}
return ret;
}
-void
engine_load_afalg_internal
(void)
+void
int_engine_load_afalg
(void)
{
ENGINE *toadd;
{
ENGINE *toadd;
@@
-844,6
+845,8
@@
static int afalg_finish(ENGINE *e)
static int afalg_destroy(ENGINE *e)
{
ERR_unload_AFALG_strings();
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;
}
return 1;
}