SSL_CONF_CTX_set_flags(3) OpenSSL SSL_CONF_CTX_set_flags(3) NNAAMMEE SSL_CONF_CTX_set_flags, SSL_CONF_CTX_clear_flags - Set of clear SSL configuration context flags SSYYNNOOPPSSIISS #include unsigned int SSL_CONF_CTX_set_flags(SSL_CONF_CTX *cctx, unsigned int flags); unsigned int SSL_CONF_CTX_clear_flags(SSL_CONF_CTX *cctx, unsigned int flags); DDEESSCCRRIIPPTTIIOONN The function _S_S_L___C_O_N_F___C_T_X___s_e_t___f_l_a_g_s_(_) sets ffllaaggss in the context ccccttxx. The function _S_S_L___C_O_N_F___C_T_X___c_l_e_a_r___f_l_a_g_s_(_) clears ffllaaggss in the context ccccttxx. NNOOTTEESS The flags set affect how subsequent calls to _S_S_L___C_O_N_F___c_m_d_(_) or _S_S_L___C_O_N_F___a_r_g_v_(_) behave. Currently the following ffllaaggss values are recognised: SSL_CONF_FLAG_CMDLINE, SSL_CONF_FLAG_FILE recognise options intended for command line or configuration file use. At least one of these flags must be set. SSL_CONF_FLAG_CLIENT, SSL_CONF_FLAG_SERVER recognise options intended for use in SSL/TLS clients or servers. One or both of these flags must be set. SSL_CONF_FLAG_CERTIFICATE recognise certificate and private key options. SSL_CONF_FLAG_SHOW_ERRORS indicate errors relating to unrecognised options or missing argu- ments in the error queue. If this option isn't set such errors are only reflected in the return values of _S_S_L___C_O_N_F___s_e_t___c_m_d_(_) or _S_S_L___C_O_N_F___s_e_t___a_r_g_v_(_) RREETTUURRNN VVAALLUUEESS _S_S_L___C_O_N_F___C_T_X___s_e_t___f_l_a_g_s_(_) and _S_S_L___C_O_N_F___C_T_X___c_l_e_a_r___f_l_a_g_s_(_) returns the new flags value after setting or clearing flags. SSEEEE AALLSSOO _S_S_L___C_O_N_F___C_T_X___n_e_w(3), _S_S_L___C_O_N_F___C_T_X___s_e_t___s_s_l___c_t_x(3), _S_S_L___C_O_N_F___C_T_X___s_e_t_1___p_r_e_f_i_x(3), _S_S_L___C_O_N_F___c_m_d(3), _S_S_L___C_O_N_F___c_m_d___a_r_g_v(3) HHIISSTTOORRYY These functions were first added to OpenSSL 1.0.2 1.0.2u 2019-12-20 SSL_CONF_CTX_set_flags(3)