From 6d498fe17dab48cfd8fc8a4da62a573b799e10ba Mon Sep 17 00:00:00 2001 From: fusion32 Date: Wed, 16 Jul 2025 17:22:39 -0300 Subject: fix most init and parsing bugs + critical bug with dynamic strings With an appropriate query manager, the server now starts up and seems to work but won't properly handle connections until we fix the problem with threads and signals described in `TODO.md`. --- src/crypto.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/crypto.hh') diff --git a/src/crypto.hh b/src/crypto.hh index b649ad8..4c89bf7 100644 --- a/src/crypto.hh +++ b/src/crypto.hh @@ -7,8 +7,8 @@ struct TRSAPrivateKey{ TRSAPrivateKey(void); ~TRSAPrivateKey(void); - void initFromFile(const char *FileName); - void decrypt(uint8 *Data); // single 128 bytes block + bool initFromFile(const char *FileName); + bool decrypt(uint8 *Data); // single 128 bytes block // DATA // ================= -- cgit v1.2.3