Squid Web Cache master
Loading...
Searching...
No Matches
stub_libsslutil.cc
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2025 The Squid Software Foundation and contributors
3 *
4 * Squid software is distributed under GPLv2+ license and includes
5 * contributions from numerous individuals and organizations.
6 * Please see the COPYING and CONTRIBUTORS files for details.
7 */
8
9#include "squid.h"
10#include "fatal.h"
11
12/* Unused (XXX) Stub File for the ssl/libsslutil.la convenience library */
13
14#define STUB_API "ssl/libsslutil.la"
15#include "tests/STUB.h"
16
17#include "ssl/crtd_message.h"
19Ssl::CrtdMessage::ParseResult Ssl::CrtdMessage::parse(const char * buffer, size_t len) STUB_RETVAL(ERROR)
20std::string const & Ssl::CrtdMessage::getBody() const STUB_RETREF(std::string)
21std::string const & Ssl::CrtdMessage::getCode() const STUB_RETREF(std::string)
22void Ssl::CrtdMessage::setBody(std::string const & aBody) STUB
23void Ssl::CrtdMessage::setCode(std::string const & aCode) STUB
24std::string Ssl::CrtdMessage::compose() const STUB_RETVAL(std::string())
25void Ssl::CrtdMessage::clear() STUB
26void Ssl::CrtdMessage::parseBody(BodyParams & map, std::string & other_part) const STUB
27void Ssl::CrtdMessage::composeBody(BodyParams const & map, std::string const & other_part) STUB
28
29#include "ssl/gadgets.h"
30X509_REQ * Ssl::createNewX509Request(Security::PrivateKeyPointer const &, const char *) STUB_RETVAL(nullptr)
31bool Ssl::writeCertAndPrivateKeyToMemory(Security::CertPointer const &, Security::PrivateKeyPointer const &, std::string &) STUB_RETVAL(false)
32bool Ssl::writeCertAndPrivateKeyToFile(Security::CertPointer const &, Security::PrivateKeyPointer const &, char const *) STUB_RETVAL(false)
33bool Ssl::readCertAndPrivateKeyFromMemory(Security::CertPointer &, Security::PrivateKeyPointer &, char const *) STUB_RETVAL(false)
34X509 * Ssl::signRequest(X509_REQ_Pointer const &, Security::CertPointer const &, Security::PrivateKeyPointer const &, ASN1_TIME *, BIGNUM const *) STUB_RETVAL(nullptr)
35bool Ssl::generateSslCertificateAndPrivateKey(char const *, Security::CertPointer const &, Security::PrivateKeyPointer const &, Security::CertPointer &, Security::PrivateKeyPointer &, BIGNUM const *) STUB_RETVAL(false)
36void Ssl::readCertAndPrivateKeyFromFiles(Security::CertPointer &, Security::PrivateKeyPointer &, char const *, char const *) STUB
37bool Ssl::sslDateIsInTheFuture(char const *) STUB_RETVAL(false)
38UniqueCString Ssl::OneLineSummary(X509_NAME &) STUB_RETVAL({})
39
40#include "ssl/helper.h"
42void Ssl::Helper::Shutdown() STUB
43void Ssl::Helper::Submit(Ssl::CrtdMessage const & message, HLPCB * callback, void *data) STUB
44
#define STUB
macro to stub a void function.
Definition STUB.h:34
#define STUB_RETREF(x)
Definition STUB.h:52
#define STUB_RETVAL(x)
Definition STUB.h:42
CrtdMessage(MessageKind kind)
static void Init()
Init helper structure.
Definition helper.cc:81
void HLPCB(void *, const Helper::Reply &)
Definition forward.h:33
helper protocol primitives
Definition helper.h:39
Network/connection security abstraction layer.
Definition Connection.h:34
Definition Xaction.cc:40
STL namespace.
static struct node * parse(FILE *fp)
Definition parse.c:965