[#ENGINE_set_default] = ENGINE_set_default :mrdocs: Register `e` as the default ENGINE for the method flags given. == Synopsis Declared in `<openssl/engine.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int ENGINE_set_default( xref:ENGINE.adoc[ENGINE]* e, unsigned int flags); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Description Prefer the selective ENGINE_set_default_* helpers when only a few method kinds are needed, to avoid pulling unused static ENGINE code into the link. == Return Value 1 on success, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *e* | ENGINE to install as default for the selected method kinds. | *flags* | Bitwise OR of ENGINE_METHOD_* selectors (e.g. ENGINE_METHOD_ALL). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#