Latest update.
This commit is contained in:
+6
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user