SSL_CTX_get_verify_mode 3 2005-04-23 0.9.9-dev OpenSSL

NAME

SSL_CTX_get_verify_mode, SSL_get_verify_mode, SSL_CTX_get_verify_depth, SSL_get_verify_depth, SSL_get_verify_callback, SSL_CTX_get_verify_callback - get currently set verification parameters

LIBRARY

libcrypto, -lcrypto

SYNOPSIS


 #include 







 int SSL_CTX_get_verify_mode(const SSL_CTX *ctx);
 int SSL_get_verify_mode(const SSL *ssl);
 int SSL_CTX_get_verify_depth(const SSL_CTX *ctx);
 int SSL_get_verify_depth(const SSL *ssl);
 int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))(int, X509_STORE_CTX *);
 int (*SSL_get_verify_callback(const SSL *ssl))(int, X509_STORE_CTX *);

DESCRIPTION

_S_S_L___C_T_X___g_e_t___v_e_r_i_f_y___m_o_d_e_(_) returns the verification mode currently set in ccttxx.

_S_S_L___g_e_t___v_e_r_i_f_y___m_o_d_e_(_) returns the verification mode currently set in ssssll.

_S_S_L___C_T_X___g_e_t___v_e_r_i_f_y___d_e_p_t_h_(_) returns the verification depth limit currently set in ccttxx. If no limit has been explicitly set, -1 is returned and the default value will be used.

_S_S_L___g_e_t___v_e_r_i_f_y___d_e_p_t_h_(_) returns the verification depth limit currently set in ssssll. If no limit has been explicitly set, -1 is returned and the default value will be used.

_S_S_L___C_T_X___g_e_t___v_e_r_i_f_y___c_a_l_l_b_a_c_k_(_) returns a function pointer to the verification callback currently set in ccttxx. If no callback was explicitly set, the NULL pointer is returned and the default callback will be used.

_S_S_L___g_e_t___v_e_r_i_f_y___c_a_l_l_b_a_c_k_(_) returns a function pointer to the verification callback currently set in ssssll. If no callback was explicitly set, the NULL pointer is returned and the default callback will be used.

RETURN VALUES

See DESCRIPTION

SEE ALSO

_s_s_l(3), _S_S_L___C_T_X___s_e_t___v_e_r_i_f_y(3)