| | |
| | | #include "../../src/library/ini/SimpleIni.h" |
| | | #include "generate-license.h" |
| | | #include "../../src/library/pc-identifiers.h" |
| | | #include <dbus-1.0/dbus/dbus.h> |
| | | |
| | | namespace fs = boost::filesystem; |
| | | using namespace license; |
| | |
| | | for (int j = 0; j < 100; j++) { |
| | | for (unsigned int i = 0; i < reference_signatures.size(); i++) { |
| | | PcSignature pcsig; |
| | | strncpy(pcsig, reference_signatures[i].c_str(), sizeof(PcSignature)); |
| | | strncpy(pcsig, reference_signatures[i].c_str(), |
| | | sizeof(PcSignature)); |
| | | EVENT_TYPE val_result = validate_pc_signature(pcsig); |
| | | string message = string("pc signature verification strategy:") |
| | | + to_string(i) + " generated: [" + generated_identifier |
| | |
| | | } |
| | | } |
| | | } |
| | | |