CRYPTO_add(&key->references, 1, CRYPTO_LOCK_DH); return EVP_PKEY_assign_DH(pkey, key);
int ret = EVP_PKEY_assign_DH(pkey, key); if(ret) CRYPTO_add(&key->references, 1, CRYPTO_LOCK_DH); return ret;
int EVP_PKEY_rset_DH(EVP_PKEY *pkey, DH *key){	CRYPTO_add(&key->references, 1, CRYPTO_LOCK_DH);	return EVP_PKEY_assign_DH(pkey, key);}