From cc5bca63e7e7b4ae1650e9f468e3c1a00623579f Mon Sep 17 00:00:00 2001 From: Kai Michaelis Date: Wed, 10 Aug 2016 17:51:42 +0200 Subject: Certificate store using SQLite --- src/lib/utils/sqlite3/sqlite3.cpp | 7 +++++++ src/lib/utils/sqlite3/sqlite3.h | 1 + 2 files changed, 8 insertions(+) (limited to 'src/lib/utils/sqlite3') diff --git a/src/lib/utils/sqlite3/sqlite3.cpp b/src/lib/utils/sqlite3/sqlite3.cpp index 77b4c0d10..251cbcdf5 100644 --- a/src/lib/utils/sqlite3/sqlite3.cpp +++ b/src/lib/utils/sqlite3/sqlite3.cpp @@ -99,6 +99,13 @@ void Sqlite3_Database::Sqlite3_Statement::bind(int column, const std::vector Sqlite3_Database::Sqlite3_Statement::get_blob(int column) { BOTAN_ASSERT(::sqlite3_column_type(m_stmt, 0) == SQLITE_BLOB, diff --git a/src/lib/utils/sqlite3/sqlite3.h b/src/lib/utils/sqlite3/sqlite3.h index 067b94e85..659e1c487 100644 --- a/src/lib/utils/sqlite3/sqlite3.h +++ b/src/lib/utils/sqlite3/sqlite3.h @@ -35,6 +35,7 @@ class BOTAN_DLL Sqlite3_Database : public SQL_Database void bind(int column, size_t val) override; void bind(int column, std::chrono::system_clock::time_point time) override; void bind(int column, const std::vector& val) override; + void bind(int column, const byte* data, size_t len) override; std::pair get_blob(int column) override; size_t get_size_t(int column) override; -- cgit v1.2.3