summaryrefslogtreecommitdiff
path: root/src/components/include/test/connection_handler/mock_connection_handler_observer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/include/test/connection_handler/mock_connection_handler_observer.h')
-rw-r--r--src/components/include/test/connection_handler/mock_connection_handler_observer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/include/test/connection_handler/mock_connection_handler_observer.h b/src/components/include/test/connection_handler/mock_connection_handler_observer.h
index f1c605eaca..a96498028d 100644
--- a/src/components/include/test/connection_handler/mock_connection_handler_observer.h
+++ b/src/components/include/test/connection_handler/mock_connection_handler_observer.h
@@ -63,9 +63,11 @@ class MockConnectionHandlerObserver
void(const int32_t& session_key,
const protocol_handler::ServiceType& type,
const connection_handler::CloseSessionReason& close_reason));
+#ifdef ENABLE_SECURITY
MOCK_CONST_METHOD1(
GetHandshakeContext,
security_manager::SSLContext::HandshakeContext(uint32_t key));
+#endif // ENABLE_SECURITY
MOCK_METHOD2(OnDeviceSwitchingStart,
void(const connection_handler::Device& device_from,