This commit is contained in:
2024-05-16 09:25:25 +02:00
parent ca93b3369f
commit d03261b873
13 changed files with 23 additions and 24 deletions

View File

@@ -20,7 +20,7 @@ LicenceGenerator::LicenceGenerator(string uid, string cid, string csd, string da
if (uid.empty() == false)
{
if (uid.length() != 32) throw LicenceException((int)GeneralError::IvanlidParam, "UID incorrect size");
if (uid.length() < 32) throw LicenceException((int)GeneralError::IvanlidParam, "UID incorrect size");
this->licData.uid = uid;
}
else