From d262a1dbac188102240f14e3a5cc17c6390a668d Mon Sep 17 00:00:00 2001 From: jakani24 Date: Thu, 17 Oct 2024 16:37:31 +0200 Subject: [PATCH] Update security.cpp --- src/client_backend/security.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client_backend/security.cpp b/src/client_backend/security.cpp index 6ab68b75..c6bcab7b 100644 --- a/src/client_backend/security.cpp +++ b/src/client_backend/security.cpp @@ -19,6 +19,7 @@ This file contains the implementation of the security functions. std::mutex fileMutex_sec; // Mutex to synchronize file access + // Function to check if the certificate is valid. the certificate is stored in the first line of each settings file. we check them agains the one in the secrets file int check_cert(const std::string& cert, const std::string& secrets_path) { std::ifstream file(secrets_path);