Automatically free up dynamically allocated public key methods when

and ENGINE is destroyed.
This commit is contained in:
Dr. Stephen Henson
2006-06-02 17:09:17 +00:00
parent 1892c8bf97
commit 7e5b06813d
5 changed files with 32 additions and 2 deletions

View File

@@ -143,6 +143,10 @@ void engine_set_all_null(ENGINE *e);
/* NB: Bitwise OR-able values for the "flags" variable in ENGINE are now exposed
* in engine.h. */
/* Free up dynamically allocated public key methods associated with ENGINE */
void engine_pkey_meths_free(ENGINE *e);
/* This is a structure for storing implementations of various crypto
* algorithms and functions. */
struct engine_st