Skip to content

Commit

Permalink
Update security.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
jakani24 committed Oct 17, 2024
1 parent 33c11b4 commit d262a1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/client_backend/security.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d262a1d

Please sign in to comment.