Import OpenSSL 1.1.0h
This commit is contained in:
@@ -56,11 +56,23 @@ static DH_METHOD dh_ossl = {
|
||||
NULL
|
||||
};
|
||||
|
||||
static const DH_METHOD *default_DH_method = &dh_ossl;
|
||||
|
||||
const DH_METHOD *DH_OpenSSL(void)
|
||||
{
|
||||
return &dh_ossl;
|
||||
}
|
||||
|
||||
void DH_set_default_method(const DH_METHOD *meth)
|
||||
{
|
||||
default_DH_method = meth;
|
||||
}
|
||||
|
||||
const DH_METHOD *DH_get_default_method(void)
|
||||
{
|
||||
return default_DH_method;
|
||||
}
|
||||
|
||||
static int generate_key(DH *dh)
|
||||
{
|
||||
int ok = 0;
|
||||
|
||||
Reference in New Issue
Block a user