]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Fixed "make check".
authorAlex Rousskov <rousskov@measurement-factory.com>
Fri, 22 Apr 2016 16:47:59 +0000 (10:47 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Fri, 22 Apr 2016 16:47:59 +0000 (10:47 -0600)
src/security/Handshake.cc
src/security/Handshake.h
src/tests/stub_libsecurity.cc

index 17fc2ace657f33df9165f06c1baa6e4b67dc45f3..fa3cda2067fd587c0800b9a8a8e1498e6ccbc823 100644 (file)
@@ -142,6 +142,18 @@ operator <<(std::ostream &os, const DebugFrame &frame)
     return os << frame.size << "-byte type-" << frame.type << ' ' << frame.name;
 }
 
+/* Security::HandshakeParser */
+
+Security::HandshakeParser::HandshakeParser():
+    state(atHelloNone),
+    ressumingSession(false),
+    parseDone(false),
+    parseError(false),
+    currentContentType(0),
+    expectingModernRecords(false)
+{
+}
+
 void
 Security::HandshakeParser::parseVersion2Record()
 {
index 1cad34746014c5def71aa0f745ef50723283c97b..6d59505f8c1e87acd245b8afc2f5a48f54d6df07 100644 (file)
@@ -179,7 +179,7 @@ public:
     /// The parsing states
     typedef enum {atHelloNone = 0, atHelloStarted, atHelloReceived, atCertificatesReceived, atHelloDoneReceived, atNstReceived, atCcsReceived, atFinishReceived} ParserState;
 
-    HandshakeParser(): state(atHelloNone), ressumingSession(false), parseDone(false), parseError(false), currentContentType(0), expectingModernRecords(false) {}
+    HandshakeParser();
 
     /// Parses the initial sequence of raw bytes sent by the SSL agent.
     /// Returns true upon successful completion (HelloDone or Finished received).
index 5d296a6cb3074eb26bd1baf8230be5ec2317b272..f3bd39c0a8e52109036225b07683752b966157be 100644 (file)
@@ -38,7 +38,12 @@ void Security::ServerOptions::updateContextEecdh(Security::ContextPtr &) STUB
 
 #include "security/NegotiationHistory.h"
 Security::NegotiationHistory::NegotiationHistory() STUB
-void Security::NegotiationHistory::fillWith(Security::SessionPtr) STUB
+void Security::NegotiationHistory::retrieveNegotiatedInfo(Security::SessionPtr) STUB
+void Security::NegotiationHistory::retrieveParsedInfo(Security::TlsDetails::Pointer const &) STUB
 const char *Security::NegotiationHistory::cipherName() const STUB
 const char *Security::NegotiationHistory::printTlsVersion(int) const STUB
 
+#include "security/Handshake.h"
+Security::HandshakeParser::HandshakeParser() STUB
+bool Security::HandshakeParser::parseHello(const SBuf &) STUB_RETVAL(false)
+