Fix DH_get_nid() so that it does not cache values.
[openssl.git] / include / crypto / dh.h
index 150d13b37050ec50f5d37b303c82738c09ac5d09..1ae2c2f0a324da4336e1ce86e5b517bc83812541 100644 (file)
@@ -20,6 +20,7 @@ int dh_generate_public_key(BN_CTX *ctx, DH *dh, const BIGNUM *priv_key,
                            BIGNUM *pub_key);
 int dh_get_named_group_uid_from_size(int pbits);
 const char *dh_gen_type_id2name(int id);
+void dh_cache_named_group(DH *dh);
 
 FFC_PARAMS *dh_get0_params(DH *dh);
 int dh_get0_nid(const DH *dh);