summaryrefslogtreecommitdiff
path: root/src/components/include/protocol_handler/protocol_handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/include/protocol_handler/protocol_handler.h')
-rw-r--r--src/components/include/protocol_handler/protocol_handler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/include/protocol_handler/protocol_handler.h b/src/components/include/protocol_handler/protocol_handler.h
index c7ee670972..b9cc2e9700 100644
--- a/src/components/include/protocol_handler/protocol_handler.h
+++ b/src/components/include/protocol_handler/protocol_handler.h
@@ -146,7 +146,7 @@ class ProtocolHandler {
virtual void ProcessFailedPTU() = 0;
-#ifdef EXTERNAL_PROPRIETARY_MODE
+#if defined(EXTERNAL_PROPRIETARY_MODE) && defined(ENABLE_SECURITY)
/**
* @brief ProcessFailedCertDecrypt is called to notify security manager that
* certificate decryption failed in the external flow