ELC 3
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user