diff options
author | Janusz Kozerski <j.kozerski@samsung.com> | 2015-11-23 11:47:45 +0100 |
---|---|---|
committer | Janusz Kozerski <j.kozerski@samsung.com> | 2015-11-25 15:34:34 +0100 |
commit | 2cb8310cd15d16c6994f703971e5e58defbe5bc7 (patch) | |
tree | d9d1c4860cd4d62254b253870b64d03ce08a8613 | |
parent | f00fa05915ece6a1b575d8b40711623c9d1c2521 (diff) | |
download | cert-checker-2cb8310cd15d16c6994f703971e5e58defbe5bc7.tar.gz cert-checker-2cb8310cd15d16c6994f703971e5e58defbe5bc7.tar.bz2 cert-checker-2cb8310cd15d16c6994f703971e5e58defbe5bc7.zip |
Use new cert-svc vcore APIsubmit/tizen_ivi/20160217.000003submit/tizen_ivi/20160217.000000submit/tizen_common/20151229.154718submit/tizen_common/20151229.144031submit/tizen_common/20151229.142028submit/tizen/20151204.130942accepted/tizen/wearable/20151206.224905accepted/tizen/tv/20151206.224844accepted/tizen/mobile/20151206.224825accepted/tizen/ivi/20160218.023939
Vcore SignatureValidator API has been changed. This commit introduces
usage of the new API.
Change-Id: I074e0ca0660b980b4defa9d95ae5869099822eb0
-rw-r--r-- | src/certs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/certs.cpp b/src/certs.cpp index 66e1648..d982f41 100644 --- a/src/certs.cpp +++ b/src/certs.cpp @@ -116,8 +116,8 @@ void Certs::find_app_signatures (app_t &app, const std::string &app_path, ocsp_u LogDebug("Checking signature"); chain_t chain; ValidationCore::CertificateList certs; - if (ValidationCore::SignatureValidator::makeChainBySignature(iter, false, certs) != - ValidationCore::SignatureValidator::SIGNATURE_VALID) { + ValidationCore::SignatureValidator validator(iter); + if (validator.makeChainBySignature(false, certs) != ValidationCore::E_SIG_NONE) { LogError("Signature: " << iter.getFileName() << " of " << app_path.c_str() << " is invalid"); continue; } |