OPENSSL_config(3) OpenSSL OPENSSL_config(3) NNAAMMEE OPENSSL_config, OPENSSL_no_config - simple OpenSSL configuration func- tions SSYYNNOOPPSSIISS #include void OPENSSL_config(const char *appname); void OPENSSL_no_config(void); DDEESSCCRRIIPPTTIIOONN _O_P_E_N_S_S_L___c_o_n_f_i_g_(_) configures OpenSSL using the standard ooppeennssssll..ccnnff and reads from the application section aappppnnaammee. If aappppnnaammee is NULL then the default section, ooppeennssssll__ccoonnff, will be used. Errors are silently ignored. Multiple calls have no effect. _O_P_E_N_S_S_L___n_o___c_o_n_f_i_g_(_) disables configuration. If called before _O_P_E_N_S_S_L___c_o_n_f_i_g_(_) no configuration takes place. NNOOTTEESS The _O_P_E_N_S_S_L___c_o_n_f_i_g_(_) function is designed to be a very simple "call it and forget it" function. It is however mmuucchh better than nothing. Applications which need finer control over their configuration func- tionality should use the configuration functions such as _C_O_N_F___m_o_d_- _u_l_e_s___l_o_a_d_(_) directly. This function is deprecated and its use should be avoided. Applications should instead call _C_O_N_F___m_o_d_u_l_e_s___l_o_a_d_(_) during initialization (that is before starting any threads). There are several reasons why calling the OpenSSL configuration rou- tines is advisable. For example new ENGINE functionality was added to OpenSSL 0.9.7. In OpenSSL 0.9.7 control functions can be supported by ENGINEs, this can be used (among other things) to load dynamic ENGINEs from shared libraries (DSOs). However very few applications currently support the control interface and so very few can load and use dynamic ENGINEs. Equally in future more sophisticated ENGINEs will require cer- tain control operations to customize them. If an application calls _O_P_E_N_S_S_L___c_o_n_f_i_g_(_) it doesn't need to know or care about ENGINE control operations because they can be performed by editing a configuration file. Applications should free up configuration at application closedown by calling _C_O_N_F___m_o_d_u_l_e_s___f_r_e_e_(_). RREETTUURRNN VVAALLUUEESS Neither _O_P_E_N_S_S_L___c_o_n_f_i_g_(_) nor _O_P_E_N_S_S_L___n_o___c_o_n_f_i_g_(_) return a value. SSEEEE AALLSSOO _c_o_n_f(5), _C_O_N_F___l_o_a_d___m_o_d_u_l_e_s___f_i_l_e(3), _C_O_N_F___m_o_d_u_l_e_s___f_r_e_e(3) HHIISSTTOORRYY _O_P_E_N_S_S_L___c_o_n_f_i_g_(_) and _O_P_E_N_S_S_L___n_o___c_o_n_f_i_g_(_) first appeared in OpenSSL 0.9.7 1.0.2u 2019-12-20 OPENSSL_config(3)