]> git.ipfire.org Git - thirdparty/squid.git/blob - src/ssl/stub_libsslutil.cc
Source Format Enforcement (#532)
[thirdparty/squid.git] / src / ssl / stub_libsslutil.cc
1 /*
2 * Copyright (C) 1996-2020 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"
18 Ssl::CrtdMessage::CrtdMessage() STUB
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"
40 void Ssl::Helper::Init() STUB
41 void Ssl::Helper::Shutdown() STUB
42 void Ssl::Helper::Submit(Ssl::CrtdMessage const & message, HLPCB * callback, void *data) STUB
43