diff options
author | Kyungwook Tak <k.tak@samsung.com> | 2015-07-31 11:29:47 +0900 |
---|---|---|
committer | Kyungwook Tak <k.tak@samsung.com> | 2015-08-19 21:21:46 +0900 |
commit | 577b04bc31293e037a680b3014ee866b31fcd186 (patch) | |
tree | e89cd7f2cf22ff4c3bbf0b1f97ce41e634ac3635 /tests/vcore/TestEnv.cpp | |
parent | 15d6ea71ec37448e87aad61ee9c1ded480841b09 (diff) | |
download | cert-svc-577b04bc31293e037a680b3014ee866b31fcd186.tar.gz cert-svc-577b04bc31293e037a680b3014ee866b31fcd186.tar.bz2 cert-svc-577b04bc31293e037a680b3014ee866b31fcd186.zip |
Add ocsp check module in signature validator
Change-Id: I22c8aea943518caa65b5ff4659e6f05c9cc34741
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
Diffstat (limited to 'tests/vcore/TestEnv.cpp')
-rw-r--r-- | tests/vcore/TestEnv.cpp | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/tests/vcore/TestEnv.cpp b/tests/vcore/TestEnv.cpp deleted file mode 100644 index 8249446..0000000 --- a/tests/vcore/TestEnv.cpp +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -#include "TestEnv.h" - -#define SIGNATURE_ERRORDESCRIBE(name) case ValidationCore::SignatureValidator::name: return #name -const char *validatorErrorToString(ValidationCore::SignatureValidator::Result error) -{ - switch (error) { - SIGNATURE_ERRORDESCRIBE(SIGNATURE_VALID); - SIGNATURE_ERRORDESCRIBE(SIGNATURE_INVALID); - SIGNATURE_ERRORDESCRIBE(SIGNATURE_VERIFIED); - SIGNATURE_ERRORDESCRIBE(SIGNATURE_DISREGARD); - SIGNATURE_ERRORDESCRIBE(SIGNATURE_REVOKED); - default: - return "Invalid error code."; - } -} -#undef SIGNATURE_ERRORDESCRIBE - |