You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I tried to compile and use this library and found the result in debug and release are different, both for generating license or loading license. It can be reproduce by run the lickey_test application (of course I need to change the test code to use the same key which license is generated. the license expired as expected, but the license can be loaded in debug mode but failed in release)
the message below:
In Release mode:
[2020-10-26 09:29:11.062762] [0x000006a8] [info] start to load license file = test(CC-E1-D5-41-21-D6).txt
[2020-10-26 09:29:11.063761] [0x000006a8] [info] done to convert feature successfully (name = base)
[2020-10-26 09:29:11.064760] [0x000006a8] [error] invalid data section
[2020-10-26 09:29:11.064760] [0x000006a8] [error] fail to decrypt
c:/work/dev/source/lickey2/src/lickey_test/licensemanagertest.h(26): error: in "LicenseManagerTest/Constructor01": check false == lic.FeatureMap().IsExpired("base") has failed [false != true]
[2020-10-26 09:29:11.064760] [0x000006a8] [error] invalid sign
c:/work/dev/source/lickey2/src/lickey_test/licensemanagertest.h(27): error: in "LicenseManagerTest/Constructor01": check true == lic.FeatureMap().IsValid("base") has failed [true != false]
[2020-10-26 09:29:11.065756] [0x000006a8] [error] license is not loaded
In debug mode:
[2020-10-26 09:29:58.962658] [0x000024a8] [info] start to load license file = test(CC-E1-D5-41-21-D6).txt
[2020-10-26 09:29:58.969691] [0x000024a8] [info] done to convert feature successfully (name = base)
c:/work/dev/source/lickey2/src/lickey_test/licensemanagertest.h(26): error: in "LicenseManagerTest/Constructor01": check false == lic.FeatureMap().IsExpired("base") has failed [false != true]
*** 6 failures are detected in the test module "my_mod"
The text was updated successfully, but these errors were encountered:
Hi, I tried to compile and use this library and found the result in debug and release are different, both for generating license or loading license. It can be reproduce by run the lickey_test application (of course I need to change the test code to use the same key which license is generated. the license expired as expected, but the license can be loaded in debug mode but failed in release)
the message below:
In Release mode:
[2020-10-26 09:29:11.062762] [0x000006a8] [info] start to load license file = test(CC-E1-D5-41-21-D6).txt
[2020-10-26 09:29:11.063761] [0x000006a8] [info] done to convert feature successfully (name = base)
[2020-10-26 09:29:11.064760] [0x000006a8] [error] invalid data section
[2020-10-26 09:29:11.064760] [0x000006a8] [error] fail to decrypt
c:/work/dev/source/lickey2/src/lickey_test/licensemanagertest.h(26): error: in "LicenseManagerTest/Constructor01": check false == lic.FeatureMap().IsExpired("base") has failed [false != true]
[2020-10-26 09:29:11.064760] [0x000006a8] [error] invalid sign
c:/work/dev/source/lickey2/src/lickey_test/licensemanagertest.h(27): error: in "LicenseManagerTest/Constructor01": check true == lic.FeatureMap().IsValid("base") has failed [true != false]
[2020-10-26 09:29:11.065756] [0x000006a8] [error] license is not loaded
In debug mode:
[2020-10-26 09:29:58.962658] [0x000024a8] [info] start to load license file = test(CC-E1-D5-41-21-D6).txt
[2020-10-26 09:29:58.969691] [0x000024a8] [info] done to convert feature successfully (name = base)
c:/work/dev/source/lickey2/src/lickey_test/licensemanagertest.h(26): error: in "LicenseManagerTest/Constructor01": check false == lic.FeatureMap().IsExpired("base") has failed [false != true]
*** 6 failures are detected in the test module "my_mod"
The text was updated successfully, but these errors were encountered: