From 8f3af8c7d1a846343547e83554af3b69014c85e0 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Sat, 13 Apr 2024 12:32:43 +0200 Subject: [PATCH] defined why2_get_chat* rsa stuff fns --- src/chat/crypto.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/chat/crypto.c b/src/chat/crypto.c index 70bfa33..cf966f0 100644 --- a/src/chat/crypto.c +++ b/src/chat/crypto.c @@ -125,4 +125,14 @@ void why2_chat_deallocate_keys(void) { why2_deallocate(rsa_modulus); why2_deallocate(rsa_d); +} + +char *why2_get_chat_modulus(void) +{ + return rsa_modulus; +} + +char *why2_get_chat_d(void) +{ + return rsa_d; } \ No newline at end of file