aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNuno Goncalves <[email protected]>2017-04-03 22:38:52 +0200
committerNuno Goncalves <[email protected]>2017-04-03 22:39:11 +0200
commitd0976f3f50a9f04104dcd1b352aaf6c2c6f51cdd (patch)
treebbdda2f6bf3e5f02b0cbbb7c5b833bcabf3ca298
parent8e272045fbf58223be5d8cffa2f1592380dd79a7 (diff)
Throw exception for Not_Implemented
Signed-off-by: Nuno Goncalves <[email protected]>
-rw-r--r--src/lib/x509/certstor_sql/certstor_sql.cpp3
1 files changed, 1 insertions, 2 deletions
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<const X509_Certificate>
Certificate_Store_In_SQL::find_cert_by_pubkey_sha1(const std::vector<uint8_t>& /*key_hash*/) const
{
- // TODO!
- return nullptr;
+ throw Not_Implemented("TODO!");
}
std::shared_ptr<const X509_CRL>