Register e as the default ENGINE for the method flags given.
Declared in <openssl/engine.h>
[[deprecated]]
int
ENGINE_set_default(
ENGINE* e,
unsigned int flags);
Deprecated. Use of this entity is allowed but discouraged.
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.
1 on success, or 0 on error.
| 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). |