From 482687cb680d0fb4560e5021a5f6f3a9804c4db3 Mon Sep 17 00:00:00 2001 From: Laan Tungir Date: Thu, 14 Aug 2025 11:46:40 -0400 Subject: [PATCH] Version v0.2.76 - Fixed decrypt output - removed extra newline to output only the plaintext --- otp.c | 2 +- test_files_dir.txt | 1 - test_new.txt | 1 - test_new.txt.otp | Bin 96 -> 0 bytes 4 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 test_files_dir.txt delete mode 100644 test_new.txt delete mode 100644 test_new.txt.otp diff --git a/otp.c b/otp.c index 4f7fd9f..f0fce61 100644 --- a/otp.c +++ b/otp.c @@ -1730,7 +1730,7 @@ int decrypt_text_silent(const char* pad_identifier, const char* encrypted_messag plaintext[ciphertext_len] = '\0'; // Output only the decrypted text - no extra messages - printf("%s\n", plaintext); + printf("%s", plaintext); // Cleanup free(ciphertext); diff --git a/test_files_dir.txt b/test_files_dir.txt deleted file mode 100644 index 5bb2c01..0000000 --- a/test_files_dir.txt +++ /dev/null @@ -1 +0,0 @@ -Testing updated files directory functionality diff --git a/test_new.txt b/test_new.txt deleted file mode 100644 index b37c6dc..0000000 --- a/test_new.txt +++ /dev/null @@ -1 +0,0 @@ -Testing files directory functionality diff --git a/test_new.txt.otp b/test_new.txt.otp deleted file mode 100644 index 021e3f03b0be126095596ef1a5e874c6cb15389a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 96 zcmeYd31DDkxNv1jr>V2YhTfiPBM*@qM;QcI^yV(9*O_i_v@nZPK>82^1T-`YNpdbP#Ysb2Tv?}iB+TB29y$zI#YAA40kZQY$vFAoXJmG_xX0{{$UB0m5C