1SSL_CONF_CTX_set_flags(3)           OpenSSL          SSL_CONF_CTX_set_flags(3)
2
3
4

NAME

6       SSL_CONF_CTX_set_flags, SSL_CONF_CTX_clear_flags - Set of clear SSL
7       configuration context flags
8

SYNOPSIS

10        #include <openssl/ssl.h>
11
12        unsigned int SSL_CONF_CTX_set_flags(SSL_CONF_CTX *cctx, unsigned int flags);
13        unsigned int SSL_CONF_CTX_clear_flags(SSL_CONF_CTX *cctx, unsigned int flags);
14

DESCRIPTION

16       The function SSL_CONF_CTX_set_flags() sets flags in the context cctx.
17
18       The function SSL_CONF_CTX_clear_flags() clears flags in the context
19       cctx.
20

NOTES

22       The flags set affect how subsequent calls to SSL_CONF_cmd() or
23       SSL_CONF_argv() behave.
24
25       Currently the following flags values are recognised:
26
27       SSL_CONF_FLAG_CMDLINE, SSL_CONF_FLAG_FILE
28           recognise options intended for command line or configuration file
29           use. At least one of these flags must be set.
30
31       SSL_CONF_FLAG_CLIENT, SSL_CONF_FLAG_SERVER
32           recognise options intended for use in SSL/TLS clients or servers.
33           One or both of these flags must be set.
34
35       SSL_CONF_FLAG_CERTIFICATE
36           recognise certificate and private key options.
37
38       SSL_CONF_FLAG_SHOW_ERRORS
39           indicate errors relating to unrecognised options or missing
40           arguments in the error queue. If this option isn't set such errors
41           are only reflected in the return values of SSL_CONF_set_cmd() or
42           SSL_CONF_set_argv()
43

RETURN VALUES

45       SSL_CONF_CTX_set_flags() and SSL_CONF_CTX_clear_flags() returns the new
46       flags value after setting or clearing flags.
47

SEE ALSO

49       SSL_CONF_CTX_new(3), SSL_CONF_CTX_set_ssl_ctx(3),
50       SSL_CONF_CTX_set1_prefix(3), SSL_CONF_cmd(3), SSL_CONF_cmd_argv(3)
51

HISTORY

53       These functions were first added to OpenSSL 1.0.2
54
55
56
571.0.2o                            2019-09-10         SSL_CONF_CTX_set_flags(3)
Impressum