stub_libsslutil.cc
Go to the documentation of this file.
1/*
2 * Copyright (C) 1996-2023 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)
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:33
#define STUB_RETREF(x)
Definition: STUB.h:51
#define STUB_RETVAL(x)
Definition: STUB.h:41
CrtdMessage(MessageKind kind)
Definition: crtd_message.cc:19
static void Init()
Init helper structure.
Definition: helper.cc:77
bool sslDateIsInTheFuture(char const *date)
Definition: gadgets.cc:826
bool writeCertAndPrivateKeyToMemory(Security::CertPointer const &cert, Security::PrivateKeyPointer const &pkey, std::string &bufferToWrite)
Definition: gadgets.cc:97
bool readCertAndPrivateKeyFromMemory(Security::CertPointer &cert, Security::PrivateKeyPointer &pkey, char const *bufferToRead)
Definition: gadgets.cc:145
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
Security::LockingPointer< X509, X509_free_cpp, HardFun< int, X509 *, X509_up_ref > > CertPointer
Definition: forward.h:86
Definition: Xaction.cc:40
UniqueCString OneLineSummary(X509_NAME &)
a RAII wrapper for the memory-allocating flavor of X509_NAME_oneline()
Definition: gadgets.cc:821
std::unique_ptr< X509_REQ, HardFun< void, X509_REQ *, &X509_REQ_free > > X509_REQ_Pointer
Definition: gadgets.h:66
std::unique_ptr< char, HardFun< void, char *, &OPENSSL_free_for_c_strings > > UniqueCString
Definition: gadgets.h:81
STL namespace.
static struct node * parse(FILE *fp)
Definition: parse.c:965

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors