X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=include%2Fopenssl%2Fdh.h;h=816b1eb218a8bd53269afbd77222f85e60d5d16d;hp=f5b03d32f5ddc274db54aa588b8cbc9d90ed2df3;hb=e6390acac925f952cfd06ccdbba0b273b8f71551;hpb=d59c7c81e3850dc667d61047850c3b6936eb5fca diff --git a/include/openssl/dh.h b/include/openssl/dh.h index f5b03d32f5..816b1eb218 100644 --- a/include/openssl/dh.h +++ b/include/openssl/dh.h @@ -203,8 +203,8 @@ int DH_up_ref(DH *dh); int DH_bits(const DH *dh); int DH_size(const DH *dh); int DH_security_bits(const DH *dh); -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); +#define DH_get_ex_new_index(l, p, newf, dupf, freef) \ + CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_DH, l, p, newf, dupf, freef) int DH_set_ex_data(DH *d, int idx, void *arg); void *DH_get_ex_data(DH *d, int idx);