]>
Commit | Line | Data |
---|---|---|
f7f3304a | 1 | #include "squid.h" |
1b76e6c1 AJ |
2 | #include "fatal.h" |
3 | ||
4 | /* Stub File for the ssl/libsslutil.la convenience library */ | |
5 | ||
6 | #define STUB_BASE "ssl/libsslutil.la" | |
7 | ||
8 | #define STUB { fatal(STUB_BASE " required."); } | |
9 | #define STUB_RETVAL(x) { fatal(STUB_BASE " required."); return (x); } | |
10 | #define STUB_RETREF(x) { fatal(STUB_BASE " required."); static x v; return v; } | |
11 | #define STUB_RETREF2(x,y) { fatal(STUB_BASE " required."); static x v((y)); return v; } | |
12 | ||
13 | #include "ssl/crtd_message.h" | |
14 | Ssl::CrtdMessage::CrtdMessage() STUB | |
15 | Ssl::CrtdMessage::ParseResult Ssl::CrtdMessage::parse(const char * buffer, size_t len) STUB_RETVAL(ERROR) | |
16 | std::string const & Ssl::CrtdMessage::getBody() const STUB_RETREF(std::string) | |
17 | std::string const & Ssl::CrtdMessage::getCode() const STUB_RETREF(std::string) | |
18 | void Ssl::CrtdMessage::setBody(std::string const & aBody) STUB | |
19 | void Ssl::CrtdMessage::setCode(std::string const & aCode) STUB | |
20 | std::string Ssl::CrtdMessage::compose() const STUB_RETREF(std::string) | |
21 | void Ssl::CrtdMessage::clear() STUB | |
22 | void Ssl::CrtdMessage::parseBody(BodyParams & map, std::string & other_part) const STUB | |
23 | void Ssl::CrtdMessage::composeBody(BodyParams const & map, std::string const & other_part) STUB | |
24 | ||
25 | #include "ssl/gadgets.h" | |
26 | X509_REQ * Ssl::createNewX509Request(EVP_PKEY_Pointer const & pkey, const char * hostname) STUB_RETVAL(NULL) | |
27 | bool Ssl::writeCertAndPrivateKeyToMemory(X509_Pointer const & cert, EVP_PKEY_Pointer const & pkey, std::string & bufferToWrite) STUB_RETVAL(false) | |
28 | bool Ssl::writeCertAndPrivateKeyToFile(X509_Pointer const & cert, EVP_PKEY_Pointer const & pkey, char const * filename) STUB_RETVAL(false) | |
29 | bool Ssl::readCertAndPrivateKeyFromMemory(X509_Pointer & cert, EVP_PKEY_Pointer & pkey, char const * bufferToRead) STUB_RETVAL(false) | |
30 | X509 * Ssl::signRequest(X509_REQ_Pointer const & request, X509_Pointer const & x509, EVP_PKEY_Pointer const & pkey, ASN1_TIME * timeNotAfter, BIGNUM const * serial) STUB_RETVAL(NULL) | |
31 | bool Ssl::generateSslCertificateAndPrivateKey(char const *host, X509_Pointer const & signedX509, EVP_PKEY_Pointer const & signedPkey, X509_Pointer & cert, EVP_PKEY_Pointer & pkey, BIGNUM const* serial) STUB_RETVAL(false) | |
32 | void Ssl::readCertAndPrivateKeyFromFiles(X509_Pointer & cert, EVP_PKEY_Pointer & pkey, char const * certFilename, char const * keyFilename) STUB | |
33 | bool Ssl::sslDateIsInTheFuture(char const * date) STUB_RETVAL(false) | |
34 | ||
35 | #include "ssl/helper.h" | |
36 | Ssl::Helper * Ssl::Helper::GetInstance() STUB_RETVAL(NULL) | |
37 | void Ssl::Helper::Init() STUB | |
38 | void Ssl::Helper::Shutdown() STUB | |
39 | void Ssl::Helper::sslSubmit(Ssl::CrtdMessage const & message, HLPCB * callback, void *data) STUB |