]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
dynamic_cert_mem_cache_size option related fixes part2: "make check" fails
authorChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 19 Feb 2014 18:48:16 +0000 (20:48 +0200)
committerChristos Tsantilas <chtsanti@users.sourceforge.net>
Wed, 19 Feb 2014 18:48:16 +0000 (20:48 +0200)
src/tests/stub_libsslsquid.cc

index 40b3d148b56871cef9f9393f089c3608b6ab1137..d1eb5f83f12d1a0bd92437f45384aa2d1c4c7b4c 100644 (file)
@@ -27,8 +27,8 @@ Ssl::Config Ssl::TheConfig;
 Ssl::CertificateStorageAction::Pointer Ssl::CertificateStorageAction::Create(const Mgr::Command::Pointer &cmd) STUB_RETSTATREF(Ssl::CertificateStorageAction::Pointer)
 void Ssl::CertificateStorageAction::dump(StoreEntry *sentry) STUB
 void Ssl::GlobalContextStorage::addLocalStorage(Ip::Address const & address, size_t size_of_store) STUB
-Ssl::LocalContextStorage Ssl::GlobalContextStorage::getLocalStorage(Ip::Address const & address)
-{ fatal(STUB_API " required"); static Ssl::LocalContextStorage v(0,0); return v; }
+Ssl::LocalContextStorage *Ssl::GlobalContextStorage::getLocalStorage(Ip::Address const & address)
+{ fatal(STUB_API " required"); static Ssl::LocalContextStorage v(0,0); return &v; }
 void Ssl::GlobalContextStorage::reconfigureStart() STUB
 //Ssl::GlobalContextStorage Ssl::TheGlobalContextStorage;