|
@@ -7109,14 +7109,6 @@ bool CtSetAccount(CLIENT *c, RPC_CLIENT_CREATE_ACCOUNT *a, bool inner)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if (a->ServerCert != NULL && a->ServerCert->is_compatible_bit == false)
|
|
|
- {
|
|
|
- // Server certificate is invalid
|
|
|
- UnlockList(c->AccountList);
|
|
|
- CiSetError(c, ERR_NOT_RSA_1024);
|
|
|
- return false;
|
|
|
- }
|
|
|
-
|
|
|
Lock(ret->lock);
|
|
|
{
|
|
|
|
|
@@ -7236,14 +7228,6 @@ bool CtCreateAccount(CLIENT *c, RPC_CLIENT_CREATE_ACCOUNT *a, bool inner)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if (a->ServerCert != NULL && a->ServerCert->is_compatible_bit == false)
|
|
|
- {
|
|
|
- // The server certificate is invalid
|
|
|
- UnlockList(c->AccountList);
|
|
|
- CiSetError(c, ERR_NOT_RSA_1024);
|
|
|
- return false;
|
|
|
- }
|
|
|
-
|
|
|
// Add a new account
|
|
|
new_account = ZeroMalloc(sizeof(ACCOUNT));
|
|
|
new_account->lock = NewLock();
|
|
@@ -8536,12 +8520,6 @@ bool CtAddCa(CLIENT *c, RPC_CERT *cert)
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
- if (cert->x->is_compatible_bit == false)
|
|
|
- {
|
|
|
- CiSetError(c, ERR_NOT_RSA_1024);
|
|
|
- return false;
|
|
|
- }
|
|
|
-
|
|
|
AddCa(c->Cedar, cert->x);
|
|
|
|
|
|
CiSaveConfigurationFile(c);
|