From 1e925ec794d20ccbceded53d3b7949563845ecb7 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Fri, 23 Feb 2024 10:34:21 +0100 Subject: [PATCH] implemented why2_chat_generate_keys in client --- src/chat/main/client.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/chat/main/client.c b/src/chat/main/client.c index f411df1..d47b034 100644 --- a/src/chat/main/client.c +++ b/src/chat/main/client.c @@ -26,6 +26,7 @@ along with this program. If not, see . #include #include +#include #include #include @@ -35,6 +36,7 @@ along with this program. If not, see . int main(void) { why2_chat_init_client_config(); //CREATE client.toml CONFIGURATION + why2_chat_generate_keys(); //CREATE RSA KEYS int listen_socket = socket(AF_INET, SOCK_STREAM, 0); //CREATE SERVER SOCKET char *line = NULL;