]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1661] Regen certs, added samples
authorFrancis Dupont <fdupont@isc.org>
Sun, 21 Feb 2021 21:59:43 +0000 (22:59 +0100)
committerFrancis Dupont <fdupont@isc.org>
Wed, 24 Mar 2021 08:09:02 +0000 (09:09 +0100)
src/lib/http/client.cc

index 7ad95ab6a5c86c41cb63dcf0df232c415ea087db..0b0597e8c8767accb91262f56bd29a2a88a7f1dc 100644 (file)
@@ -1239,7 +1239,7 @@ Connection::connectCallback(HttpClient::ConnectHandler connect_callback,
 }
 
 void
-Connection::handshakeCallback(HttpClient::ConnectHandler connect_callback,
+Connection::handshakeCallback(HttpClient::ConnectHandler handshake_callback,
                               const uint64_t transid,
                               const boost::system::error_code& ec) {
     if (checkPrematureTimeout(transid)) {
@@ -1247,11 +1247,11 @@ Connection::handshakeCallback(HttpClient::ConnectHandler connect_callback,
     }
 
     // Run user defined handshake callback if specified.
-    if (handshake_callback_) {
+    if (handshake_callback) {
         // If the user defined callback indicates that the connection
         // should not be continued.
         if (tls_socket_) {
-            if (!handshake_callback_(ec, tls_socket_->getNative())) {
+            if (!handshake_callback(ec, tls_socket_->getNative())) {
                 return;
             }
         } else {