Latest update.

This commit is contained in:
2020-04-15 18:45:34 +09:00
parent be29e7bcc6
commit 2015c00c43
573 changed files with 22943 additions and 6714 deletions
+6 -1
View File
@@ -45,6 +45,11 @@ int DH_set_method(DH *dh, const DH_METHOD *meth)
return 1;
}
const DH_METHOD *dh_get_method(const DH *dh)
{
return dh->meth;
}
DH *DH_new(void)
{
return dh_new_intern(NULL, NULL);
@@ -166,7 +171,7 @@ int DH_set_ex_data(DH *d, int idx, void *arg)
return CRYPTO_set_ex_data(&d->ex_data, idx, arg);
}
void *DH_get_ex_data(DH *d, int idx)
void *DH_get_ex_data(const DH *d, int idx)
{
return CRYPTO_get_ex_data(&d->ex_data, idx);
}