mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-04-21 06:19:25 +03:00
Allow ECDSA certificates on server side
This commit is contained in:
@@ -7777,11 +7777,6 @@ UINT StAddCa(ADMIN *a, RPC_HUB_ADD_CA *t)
|
||||
return ERR_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
if (t->Cert->is_compatible_bit == false)
|
||||
{
|
||||
return ERR_NOT_RSA_1024;
|
||||
}
|
||||
|
||||
CHECK_RIGHT;
|
||||
|
||||
LockHubList(c);
|
||||
@@ -9446,11 +9441,6 @@ UINT StSetServerCert(ADMIN *a, RPC_KEY_PAIR *t)
|
||||
return ERR_PROTOCOL_ERROR;
|
||||
}
|
||||
|
||||
if (t->Cert->is_compatible_bit == false)
|
||||
{
|
||||
return ERR_NOT_RSA_1024;
|
||||
}
|
||||
|
||||
if (CheckXandK(t->Cert, t->Key) == false)
|
||||
{
|
||||
return ERR_PROTOCOL_ERROR;
|
||||
|
||||
Reference in New Issue
Block a user