From bb8436badd11d971a74073287ce0129aded41451 Mon Sep 17 00:00:00 2001 From: ENGO150 <v.smejkal06@gmail.com> Date: Sat, 13 Apr 2024 12:31:17 +0200 Subject: [PATCH] added body for why2_chat_deallocate_keys --- src/chat/crypto.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/chat/crypto.c b/src/chat/crypto.c index 671bb0f..70bfa33 100644 --- a/src/chat/crypto.c +++ b/src/chat/crypto.c @@ -30,6 +30,10 @@ along with this program. If not, see <https://www.gnu.org/licenses/>. #include <gmp.h> +//DO NOT TOUCH THESE PLS :3 +char *rsa_modulus = NULL; //THE RSA MODULUS +char *rsa_d = NULL; //THE RSA d + //LOCAL void generate_prime(mpz_t x) { @@ -119,6 +123,6 @@ void why2_chat_init_keys(void) void why2_chat_deallocate_keys(void) { - //YOU FUCKING IDIOT DEALLOCATE KEYS - //ARE YOU REALLY THAT DUMB? + why2_deallocate(rsa_modulus); + why2_deallocate(rsa_d); } \ No newline at end of file