.Dd $Mdocdate: November 2 2016 $ .Dt DH_GET_EX_NEW_INDEX 3 .Os .Sh NAME .Nm DH_get_ex_new_index , .Nm DH_set_ex_data , .Nm DH_get_ex_data .Nd add application specific data to DH structures .Sh SYNOPSIS .In openssl/dh.h .Ft int .Fo DH_get_ex_new_index .Fa "long argl" .Fa "void *argp" .Fa "CRYPTO_EX_new *new_func" .Fa "CRYPTO_EX_dup *dup_func" .Fa "CRYPTO_EX_free *free_func" .Fc .Ft int .Fo DH_set_ex_data .Fa "DH *d" .Fa "int idx" .Fa "void *arg" .Fc .Ft char * .Fo DH_get_ex_data .Fa "DH *d" .Fa "int idx" .Fc .Sh DESCRIPTION These functions handle application specific data in .Vt DH structures. Their usage is identical to that of .Xr RSA_get_ex_new_index 3 , .Xr RSA_set_ex_data 3 , and .Xr RSA_get_ex_data 3 . .Sh SEE ALSO .Xr dh 3 , .Xr RSA_get_ex_new_index 3 .Sh HISTORY .Fn DH_get_ex_new_index , .Fn DH_set_ex_data , and .Fn DH_get_ex_data are available since OpenSSL 0.9.5.