11 #ifndef OPENDDS_DCPS_SECURITY_OPENSSL_LEGACY_H 12 #define OPENDDS_DCPS_SECURITY_OPENSSL_LEGACY_H 14 #if OPENSSL_VERSION_NUMBER < 0x10100000L 18 #define EVP_MD_CTX_new EVP_MD_CTX_create 19 #define EVP_MD_CTX_free EVP_MD_CTX_destroy 20 #define EVP_CTRL_AEAD_GET_TAG EVP_CTRL_CCM_GET_TAG 24 return BN_num_bits(r->n);
27 inline void DH_get0_key(
const DH* dh,
const BIGNUM** pub_key,
const BIGNUM** priv_key)
30 *pub_key = dh->pub_key;
33 *priv_key = dh->priv_key;
37 #elif OPENSSL_VERSION_NUMBER < 0x30000000L 41 #endif // OPENSSL_VERSION_NUMBER < 0x10100000L void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key)
int RSA_bits(const RSA *r)