fix: flush stdout on error

This commit is contained in:
2026-05-17 19:44:30 +02:00
parent 69b16bf09d
commit 926d7bbad8

View File

@@ -80,6 +80,7 @@ int main(){
if(memcmp(begin, expected, sizeof(begin)) != 0) { if(memcmp(begin, expected, sizeof(begin)) != 0) {
// This happens when decryption fails // This happens when decryption fails
printf(MESSAGE_UNAUTHORIZED); printf(MESSAGE_UNAUTHORIZED);
fflush(stdout);
return 1; return 1;
} }