OpenBSD manual page server

Manual Page Search Parameters

ENGINE_SET_FLAGS(3) Library Functions Manual ENGINE_SET_FLAGS(3)

ENGINE_set_flags, ENGINE_get_flagsmodify the behaviour of an ENGINE object

#include <openssl/engine.h>

ENGINE_set_flags(ENGINE *e, int flags);

ENGINE_get_flags(const ENGINE *e);

() sets the flags attribute of e to the new flags. The previous state of the flags attribute is overwritten. Flags that were previously set are cleared unless they are also present in the new flags.

The flags argument can be the bitwise OR of zero or more of the following constants:

ENGINE_by_id(3) returns a shallow copy of the ENGINE object it found rather than incrementing the reference count and returning a pointer to the original.
ENGINE_ctrl(3) lets the function installed with ENGINE_set_ctrl_function(3) handle all commands except ENGINE_CTRL_HAS_CTRL_FUNCTION, even the builtin commands.
ENGINE_register_all_complete(3) skips e.

ENGINE_set_flags() always returns 1.

ENGINE_get_flags() returns the flags attribute of e.

ENGINE_by_id(3), ENGINE_ctrl(3), ENGINE_init(3), ENGINE_new(3), ENGINE_register_all_complete(3), ENGINE_set_RSA(3)

ENGINE_set_flags() and ENGINE_get_flags() first appeared in OpenSSL 0.9.7 and have been available since OpenBSD 3.2.

April 18, 2018 OpenBSD-7.1