DH_get_ex_new_index 3 2002-07-30 0.9.9-dev OpenSSL

NAME

DH_get_ex_new_index, DH_set_ex_data, DH_get_ex_data - add application specific data to DH structures

LIBRARY

libcrypto, -lcrypto

SYNOPSIS


 #include 


 int DH_get_ex_new_index(long argl, void *argp,
                CRYPTO_EX_new *new_func,
                CRYPTO_EX_dup *dup_func,
                CRYPTO_EX_free *free_func);


 int DH_set_ex_data(DH *d, int idx, void *arg);


 char *DH_get_ex_data(DH *d, int idx);

DESCRIPTION

These functions handle application specific data in DH structures. Their usage is identical to that of _R_S_A___g_e_t___e_x___n_e_w___i_n_d_e_x_(_), _R_S_A___s_e_t___e_x___d_a_t_a_(_) and _R_S_A___g_e_t___e_x___d_a_t_a_(_) as described in _R_S_A___g_e_t___e_x___n_e_w___i_n_d_e_x(3).

SEE ALSO

_R_S_A___g_e_t___e_x___n_e_w___i_n_d_e_x(3), _o_p_e_n_s_s_l___d_h(3)

HISTORY

_D_H___g_e_t___e_x___n_e_w___i_n_d_e_x_(_), _D_H___s_e_t___e_x___d_a_t_a_(_) and _D_H___g_e_t___e_x___d_a_t_a_(_) are available since OpenSSL 0.9.5.