summaryrefslogtreecommitdiff
path: root/src/dpl/core/include
diff options
context:
space:
mode:
authorJanusz Kozerski <j.kozerski@samsung.com>2015-06-23 17:22:19 +0200
committerJanusz Kozerski <j.kozerski@samsung.com>2015-07-06 14:44:23 +0200
commitaa31c0517333688b611ba453b08138960b53244e (patch)
tree047f44f4f4dcb53f5ec4370105144e9ba90d1d6e /src/dpl/core/include
parentdb78d4705ab241499fe1ba438e15da514f4ec3ba (diff)
downloadcert-checker-aa31c0517333688b611ba453b08138960b53244e.tar.gz
cert-checker-aa31c0517333688b611ba453b08138960b53244e.tar.bz2
cert-checker-aa31c0517333688b611ba453b08138960b53244e.zip
Add pulling out certificates from apps' signature.
* Move DPL include files from "dpl/*" into "cchecker/dpl/* because of cert-svc-vcore also uses DPL (from wrt-commons), and that was causing build break. * Certificates are stored in buffer and database. * OCSP URLs are pulled out from certificates and stored in database. Change-Id: Ic0601da38619f7c7b784d952abe56888db036673
Diffstat (limited to 'src/dpl/core/include')
-rw-r--r--src/dpl/core/include/cchecker/dpl/assert.h (renamed from src/dpl/core/include/dpl/assert.h)2
-rw-r--r--src/dpl/core/include/cchecker/dpl/availability.h (renamed from src/dpl/core/include/dpl/availability.h)0
-rw-r--r--src/dpl/core/include/cchecker/dpl/char_traits.h (renamed from src/dpl/core/include/dpl/char_traits.h)3
-rw-r--r--src/dpl/core/include/cchecker/dpl/colors.h (renamed from src/dpl/core/include/dpl/colors.h)0
-rw-r--r--src/dpl/core/include/cchecker/dpl/errno_string.h (renamed from src/dpl/core/include/dpl/errno_string.h)3
-rw-r--r--src/dpl/core/include/cchecker/dpl/exception.h (renamed from src/dpl/core/include/dpl/exception.h)0
-rw-r--r--src/dpl/core/include/cchecker/dpl/noncopyable.h (renamed from src/dpl/core/include/dpl/noncopyable.h)0
-rw-r--r--src/dpl/core/include/cchecker/dpl/noreturn.h (renamed from src/dpl/core/include/dpl/noreturn.h)0
-rw-r--r--src/dpl/core/include/cchecker/dpl/optional.h (renamed from src/dpl/core/include/dpl/optional.h)2
-rw-r--r--src/dpl/core/include/cchecker/dpl/scoped_array.h (renamed from src/dpl/core/include/dpl/scoped_array.h)4
-rw-r--r--src/dpl/core/include/cchecker/dpl/scoped_free.h (renamed from src/dpl/core/include/dpl/scoped_free.h)2
-rw-r--r--src/dpl/core/include/cchecker/dpl/scoped_resource.h (renamed from src/dpl/core/include/dpl/scoped_resource.h)2
-rw-r--r--src/dpl/core/include/cchecker/dpl/string.h (renamed from src/dpl/core/include/dpl/string.h)5
13 files changed, 13 insertions, 10 deletions
diff --git a/src/dpl/core/include/dpl/assert.h b/src/dpl/core/include/cchecker/dpl/assert.h
index 936c71e..03dd7d0 100644
--- a/src/dpl/core/include/dpl/assert.h
+++ b/src/dpl/core/include/cchecker/dpl/assert.h
@@ -22,7 +22,7 @@
#ifndef CCHECKER_ASSERT_H
#define CCHECKER_ASSERT_H
-#include <dpl/noreturn.h>
+#include <cchecker/dpl/noreturn.h>
namespace CCHECKER {
// Assertion handler procedure
diff --git a/src/dpl/core/include/dpl/availability.h b/src/dpl/core/include/cchecker/dpl/availability.h
index b1cb894..b1cb894 100644
--- a/src/dpl/core/include/dpl/availability.h
+++ b/src/dpl/core/include/cchecker/dpl/availability.h
diff --git a/src/dpl/core/include/dpl/char_traits.h b/src/dpl/core/include/cchecker/dpl/char_traits.h
index e76f48b..06e2840 100644
--- a/src/dpl/core/include/dpl/char_traits.h
+++ b/src/dpl/core/include/cchecker/dpl/char_traits.h
@@ -29,7 +29,8 @@
#include <string>
#include <ostream>
#include <algorithm>
-#include <dpl/exception.h>
+
+#include <cchecker/dpl/exception.h>
namespace CCHECKER {
typedef std::char_traits<wchar_t> CharTraits;
diff --git a/src/dpl/core/include/dpl/colors.h b/src/dpl/core/include/cchecker/dpl/colors.h
index d652f5b..d652f5b 100644
--- a/src/dpl/core/include/dpl/colors.h
+++ b/src/dpl/core/include/cchecker/dpl/colors.h
diff --git a/src/dpl/core/include/dpl/errno_string.h b/src/dpl/core/include/cchecker/dpl/errno_string.h
index 498b2af..c98eba3 100644
--- a/src/dpl/core/include/dpl/errno_string.h
+++ b/src/dpl/core/include/cchecker/dpl/errno_string.h
@@ -22,10 +22,11 @@
#ifndef CCHECKER_ERRNO_STRING_H
#define CCHECKER_ERRNO_STRING_H
-#include <dpl/exception.h>
#include <string>
#include <cerrno>
+#include <cchecker/dpl/exception.h>
+
namespace CCHECKER {
DECLARE_EXCEPTION_TYPE(CCHECKER::Exception, InvalidErrnoValue)
diff --git a/src/dpl/core/include/dpl/exception.h b/src/dpl/core/include/cchecker/dpl/exception.h
index f7b9afc..f7b9afc 100644
--- a/src/dpl/core/include/dpl/exception.h
+++ b/src/dpl/core/include/cchecker/dpl/exception.h
diff --git a/src/dpl/core/include/dpl/noncopyable.h b/src/dpl/core/include/cchecker/dpl/noncopyable.h
index 747299c..747299c 100644
--- a/src/dpl/core/include/dpl/noncopyable.h
+++ b/src/dpl/core/include/cchecker/dpl/noncopyable.h
diff --git a/src/dpl/core/include/dpl/noreturn.h b/src/dpl/core/include/cchecker/dpl/noreturn.h
index 6eaaa64..6eaaa64 100644
--- a/src/dpl/core/include/dpl/noreturn.h
+++ b/src/dpl/core/include/cchecker/dpl/noreturn.h
diff --git a/src/dpl/core/include/dpl/optional.h b/src/dpl/core/include/cchecker/dpl/optional.h
index 6aca7bd..42d1bd4 100644
--- a/src/dpl/core/include/dpl/optional.h
+++ b/src/dpl/core/include/cchecker/dpl/optional.h
@@ -22,7 +22,7 @@
#ifndef CCHECKER_OPTIONAL_H
#define CCHECKER_OPTIONAL_H
-#include <dpl/exception.h>
+#include <cchecker/dpl/exception.h>
namespace CCHECKER {
template <typename Type>
diff --git a/src/dpl/core/include/dpl/scoped_array.h b/src/dpl/core/include/cchecker/dpl/scoped_array.h
index ca6a02b..54c0c80 100644
--- a/src/dpl/core/include/dpl/scoped_array.h
+++ b/src/dpl/core/include/cchecker/dpl/scoped_array.h
@@ -24,8 +24,8 @@
#include <cstddef>
-#include <dpl/assert.h>
-#include <dpl/scoped_resource.h>
+#include <cchecker/dpl/assert.h>
+#include <cchecker/dpl/scoped_resource.h>
namespace CCHECKER {
template<typename Class>
diff --git a/src/dpl/core/include/dpl/scoped_free.h b/src/dpl/core/include/cchecker/dpl/scoped_free.h
index 9be17b7..d8fee50 100644
--- a/src/dpl/core/include/dpl/scoped_free.h
+++ b/src/dpl/core/include/cchecker/dpl/scoped_free.h
@@ -26,7 +26,7 @@
#include <malloc.h>
#include <cstddef>
-#include <dpl/scoped_resource.h>
+#include <cchecker/dpl/scoped_resource.h>
namespace CCHECKER {
template<typename Class>
diff --git a/src/dpl/core/include/dpl/scoped_resource.h b/src/dpl/core/include/cchecker/dpl/scoped_resource.h
index c024684..2b3c72d 100644
--- a/src/dpl/core/include/dpl/scoped_resource.h
+++ b/src/dpl/core/include/cchecker/dpl/scoped_resource.h
@@ -22,7 +22,7 @@
#ifndef CCHECKER_SCOPED_RESOURCE_H
#define CCHECKER_SCOPED_RESOURCE_H
-#include <dpl/noncopyable.h>
+#include <cchecker/dpl/noncopyable.h>
namespace CCHECKER {
template<typename ClassPolicy>
diff --git a/src/dpl/core/include/dpl/string.h b/src/dpl/core/include/cchecker/dpl/string.h
index a271e5a..d9c3bbd 100644
--- a/src/dpl/core/include/dpl/string.h
+++ b/src/dpl/core/include/cchecker/dpl/string.h
@@ -21,12 +21,13 @@
#ifndef CCHECKER_STRING
#define CCHECKER_STRING
-#include <dpl/exception.h>
-#include <dpl/char_traits.h>
#include <string>
#include <ostream>
#include <numeric>
+#include <cchecker/dpl/exception.h>
+#include <cchecker/dpl/char_traits.h>
+
namespace CCHECKER {
// @brief CCHECKER string
typedef std::basic_string<wchar_t, CharTraits> String;