From d0976f3f50a9f04104dcd1b352aaf6c2c6f51cdd Mon Sep 17 00:00:00 2001 From: Nuno Goncalves Date: Mon, 3 Apr 2017 22:38:52 +0200 Subject: Throw exception for Not_Implemented Signed-off-by: Nuno Goncalves --- src/lib/x509/certstor_sql/certstor_sql.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/lib') diff --git a/src/lib/x509/certstor_sql/certstor_sql.cpp b/src/lib/x509/certstor_sql/certstor_sql.cpp index 06e0fda1b..7c8e2bb19 100644 --- a/src/lib/x509/certstor_sql/certstor_sql.cpp +++ b/src/lib/x509/certstor_sql/certstor_sql.cpp @@ -81,8 +81,7 @@ Certificate_Store_In_SQL::find_cert(const X509_DN& subject_dn, const std::vector std::shared_ptr Certificate_Store_In_SQL::find_cert_by_pubkey_sha1(const std::vector& /*key_hash*/) const { - // TODO! - return nullptr; + throw Not_Implemented("TODO!"); } std::shared_ptr -- cgit v1.2.3