/* * Copyright (C) 1996-2023 The Squid Software Foundation and contributors * * Squid software is distributed under GPLv2+ license and includes * contributions from numerous individuals and organizations. * Please see the COPYING and CONTRIBUTORS files for details. */ #ifndef SQUID_SRC_SECURITY_CONTEXT_H #define SQUID_SRC_SECURITY_CONTEXT_H #include #if USE_OPENSSL #include "compat/openssl.h" #if HAVE_OPENSSL_SSL_H #include #endif #elif USE_GNUTLS #if HAVE_GNUTLS_GNUTLS_H #include #endif #endif namespace Security { #if USE_OPENSSL typedef std::shared_ptr ContextPointer; #elif USE_GNUTLS typedef std::shared_ptr ContextPointer; #else // use void* so we can check against nullptr typedef std::shared_ptr ContextPointer; #endif } // namespace Security #endif /* SQUID_SRC_SECURITY_CONTEXT_H */