stub_libsslutil.cc
Go to the documentation of this file.
1 /*
2  * Copyright (C) 1996-2017 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"
19 Ssl::CrtdMessage::ParseResult Ssl::CrtdMessage::parse(const char * buffer, size_t len) STUB_RETVAL(ERROR)
20 std::string const & Ssl::CrtdMessage::getBody() const STUB_RETREF(std::string)
21 std::string const & Ssl::CrtdMessage::getCode() const STUB_RETREF(std::string)
22 void Ssl::CrtdMessage::setBody(std::string const & aBody) STUB
23 void Ssl::CrtdMessage::setCode(std::string const & aCode) STUB
24 std::string Ssl::CrtdMessage::compose() const STUB_RETVAL(std::string())
25 void Ssl::CrtdMessage::clear() STUB
26 void Ssl::CrtdMessage::parseBody(BodyParams & map, std::string & other_part) const STUB
27 void Ssl::CrtdMessage::composeBody(BodyParams const & map, std::string const & other_part) STUB
28 
29 #include "ssl/gadgets.h"
30 X509_REQ * Ssl::createNewX509Request(Security::PrivateKeyPointer const &, const char *) STUB_RETVAL(nullptr)
31 bool Ssl::writeCertAndPrivateKeyToMemory(Security::CertPointer const &, Security::PrivateKeyPointer const &, std::string &) STUB_RETVAL(false)
32 bool Ssl::writeCertAndPrivateKeyToFile(Security::CertPointer const &, Security::PrivateKeyPointer const &, char const *) STUB_RETVAL(false)
33 bool Ssl::readCertAndPrivateKeyFromMemory(Security::CertPointer &, Security::PrivateKeyPointer &, char const *) STUB_RETVAL(false)
34 X509 * Ssl::signRequest(X509_REQ_Pointer const &, Security::CertPointer const &, Security::PrivateKeyPointer const &, ASN1_TIME *, BIGNUM const *) STUB_RETVAL(nullptr)
35 bool Ssl::generateSslCertificateAndPrivateKey(char const *, Security::CertPointer const &, Security::PrivateKeyPointer const &, Security::CertPointer &, Security::PrivateKeyPointer &, BIGNUM const *) STUB_RETVAL(false)
36 void Ssl::readCertAndPrivateKeyFromFiles(Security::CertPointer &, Security::PrivateKeyPointer &, char const *, char const *) STUB
37 bool Ssl::sslDateIsInTheFuture(char const *) STUB_RETVAL(false)
38 
39 #include "ssl/helper.h"
41 void Ssl::Helper::Init() STUB
42 void Ssl::Helper::Shutdown() STUB
43 void Ssl::Helper::sslSubmit(Ssl::CrtdMessage const & message, HLPCB * callback, void *data) STUB
44 
std::unique_ptr< X509_REQ, HardFun< void, X509_REQ *,&X509_REQ_free > > X509_REQ_Pointer
Definition: gadgets.h:62
bool sslDateIsInTheFuture(char const *date)
Definition: gadgets.cc:770
CrtdMessage(MessageKind kind)
Definition: crtd_message.cc:17
static struct node * parse(FILE *fp)
Definition: parse.c:995
void HLPCB(void *, const Helper::Reply &)
Definition: forward.h:27
void const char HLPCB void * data
Definition: stub_helper.cc:16
#define STUB_RETVAL(x)
Definition: STUB.h:41
#define STUB
macro to stub a void function.
Definition: STUB.h:33
void Init(void)
prepares to parse ACLs configuration
Definition: AclRegs.cc:111
int unsigned int const char *desc STUB void int len
Definition: stub_fd.cc:20
bool writeCertAndPrivateKeyToMemory(Security::CertPointer const &cert, Security::PrivateKeyPointer const &pkey, std::string &bufferToWrite)
Definition: gadgets.cc:73
static Helper * GetInstance()
Instance class.
Definition: helper.cc:70
bool readCertAndPrivateKeyFromMemory(Security::CertPointer &cert, Security::PrivateKeyPointer &pkey, char const *bufferToRead)
Definition: gadgets.cc:121
#define STUB_RETREF(x)
Definition: STUB.h:51
#define NULL
Definition: types.h:166
#define false
Definition: GnuRegex.c:233

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors