X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fengine%2Feng_int.h;h=38335f99cdaa5cde077bbbe7cb8bc9f19bdd65c0;hp=7a74498930065f313d93cc5c5df213e5d596360f;hb=e4a6cf421a57cd59ad6944151fea07af51e5e0ed;hpb=5c32657c80d6d53618002019be679bc5816aef75 diff --git a/crypto/engine/eng_int.h b/crypto/engine/eng_int.h index 7a74498930..38335f99cd 100644 --- a/crypto/engine/eng_int.h +++ b/crypto/engine/eng_int.h @@ -129,6 +129,11 @@ int engine_unlocked_init(ENGINE *e); int engine_unlocked_finish(ENGINE *e, int unlock_for_handlers); int engine_free_util(ENGINE *e, int locked); +/* This function will reset all "set"able values in an ENGINE to NULL. This + * won't touch reference counts or ex_data, but is equivalent to calling all the + * ENGINE_set_***() functions with a NULL value. */ +void engine_set_all_null(ENGINE *e); + /* NB: Bitwise OR-able values for the "flags" variable in ENGINE are now exposed * in engine.h. */