From 25dd3962c96da8def8d02e12d8125f73b463fac5 Mon Sep 17 00:00:00 2001 From: Masakazu Kitajo Date: Fri, 3 Sep 2021 16:15:49 +0900 Subject: [PATCH] Fix a compile error in SSLCertLookup --- iocore/net/SSLCertLookup.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iocore/net/SSLCertLookup.cc b/iocore/net/SSLCertLookup.cc index 06d5c4d7d57..39b7205e522 100644 --- a/iocore/net/SSLCertLookup.cc +++ b/iocore/net/SSLCertLookup.cc @@ -363,6 +363,7 @@ SSLCertLookup::insert(const char *name, SSLCertContext const &cc) return this->ec_storage->insert(name, cc); default: ink_assert(false); + return -1; } #else return this->ssl_storage->insert(name, cc); @@ -383,6 +384,7 @@ SSLCertLookup::insert(const IpEndpoint &address, SSLCertContext const &cc) return this->ec_storage->insert(key.get(), cc); default: ink_assert(false); + return -1; } #else return this->ssl_storage->insert(key.get(), cc);