Add the possibility to control some engine internals.

This commit is contained in:
Richard Levitte
2000-06-29 14:26:07 +00:00
parent 2165d91196
commit 3b2972d8d9
8 changed files with 78 additions and 9 deletions

View File

@@ -100,8 +100,9 @@ typedef struct engine_st
RAND_METHOD *rand_meth;
BN_MOD_EXP bn_mod_exp;
BN_MOD_EXP_CRT bn_mod_exp_crt;
int (*init)();
int (*finish)();
int (*init)(void);
int (*finish)(void);
int (*ctrl)(int cmd, long i, void *p, void (*f)());
int flags;
/* reference count on the structure itself */
int struct_ref;