summaryrefslogtreecommitdiff
path: root/src/dpl/core/src
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/src
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/src')
-rw-r--r--src/dpl/core/src/assert.cpp4
-rw-r--r--src/dpl/core/src/char_traits.cpp3
-rw-r--r--src/dpl/core/src/colors.cpp3
-rw-r--r--src/dpl/core/src/errno_string.cpp11
-rw-r--r--src/dpl/core/src/exception.cpp2
-rw-r--r--src/dpl/core/src/noncopyable.cpp3
-rw-r--r--src/dpl/core/src/string.cpp10
7 files changed, 20 insertions, 16 deletions
diff --git a/src/dpl/core/src/assert.cpp b/src/dpl/core/src/assert.cpp
index c8aed8f..2050617 100644
--- a/src/dpl/core/src/assert.cpp
+++ b/src/dpl/core/src/assert.cpp
@@ -20,10 +20,10 @@
* @brief This file is the implementation file of assert
*/
#include <stddef.h>
-#include <dpl/assert.h>
#include <cstdlib>
-#include <dpl/exception.h>
+#include <cchecker/dpl/assert.h>
+#include <cchecker/dpl/exception.h>
#include <cchecker/log.h>
namespace CCHECKER {
diff --git a/src/dpl/core/src/char_traits.cpp b/src/dpl/core/src/char_traits.cpp
index 32b9197..d142cb2 100644
--- a/src/dpl/core/src/char_traits.cpp
+++ b/src/dpl/core/src/char_traits.cpp
@@ -23,7 +23,8 @@
* performance
*/
#include <stddef.h>
-#include <dpl/char_traits.h>
+
+#include <cchecker/dpl/char_traits.h>
//
// Note:
diff --git a/src/dpl/core/src/colors.cpp b/src/dpl/core/src/colors.cpp
index 25feadf..272c06b 100644
--- a/src/dpl/core/src/colors.cpp
+++ b/src/dpl/core/src/colors.cpp
@@ -21,7 +21,8 @@
* and html output
*/
#include <stddef.h>
-#include <dpl/colors.h>
+
+#include <cchecker/dpl/colors.h>
namespace CCHECKER {
namespace Colors {
diff --git a/src/dpl/core/src/errno_string.cpp b/src/dpl/core/src/errno_string.cpp
index e481a02..5b1de37 100644
--- a/src/dpl/core/src/errno_string.cpp
+++ b/src/dpl/core/src/errno_string.cpp
@@ -20,11 +20,6 @@
* @brief This file is the implementation file of errno string
*/
#include <stddef.h>
-#include <dpl/errno_string.h>
-#include <dpl/assert.h>
-#include <dpl/exception.h>
-#include <dpl/assert.h>
-#include <dpl/scoped_free.h>
#include <string>
#include <cstddef>
#include <cstring>
@@ -32,6 +27,12 @@
#include <cerrno>
#include <stdexcept>
+#include <cchecker/dpl/errno_string.h>
+#include <cchecker/dpl/assert.h>
+#include <cchecker/dpl/exception.h>
+#include <cchecker/dpl/assert.h>
+#include <cchecker/dpl/scoped_free.h>
+
namespace CCHECKER {
namespace // anonymous
{
diff --git a/src/dpl/core/src/exception.cpp b/src/dpl/core/src/exception.cpp
index 5f2e8e0..d26e13c 100644
--- a/src/dpl/core/src/exception.cpp
+++ b/src/dpl/core/src/exception.cpp
@@ -20,9 +20,9 @@
* @brief This file is the implementation of exception system
*/
#include <stddef.h>
-#include <dpl/exception.h>
#include <cstdio>
+#include <cchecker/dpl/exception.h>
#include <cchecker/log.h>
namespace CCHECKER {
diff --git a/src/dpl/core/src/noncopyable.cpp b/src/dpl/core/src/noncopyable.cpp
index 1ae80e9..6e6f50c 100644
--- a/src/dpl/core/src/noncopyable.cpp
+++ b/src/dpl/core/src/noncopyable.cpp
@@ -20,7 +20,8 @@
* @brief This file is the implementation file of noncopyable
*/
#include <stddef.h>
-#include <dpl/noncopyable.h>
+
+#include <cchecker/dpl/noncopyable.h>
namespace CCHECKER {
Noncopyable::Noncopyable()
diff --git a/src/dpl/core/src/string.cpp b/src/dpl/core/src/string.cpp
index cdc83ec..d22aaba 100644
--- a/src/dpl/core/src/string.cpp
+++ b/src/dpl/core/src/string.cpp
@@ -20,11 +20,6 @@
* @version 1.0
*/
#include <stddef.h>
-#include <dpl/string.h>
-#include <dpl/char_traits.h>
-#include <dpl/errno_string.h>
-#include <dpl/exception.h>
-#include <dpl/scoped_array.h>
#include <string>
#include <vector>
#include <algorithm>
@@ -33,6 +28,11 @@
#include <iconv.h>
#include <unicode/ustring.h>
+#include <cchecker/dpl/string.h>
+#include <cchecker/dpl/char_traits.h>
+#include <cchecker/dpl/errno_string.h>
+#include <cchecker/dpl/exception.h>
+#include <cchecker/dpl/scoped_array.h>
#include <cchecker/log.h>
// TODO: Completely move to ICU