fix: flush stdout on error
This commit is contained in:
@@ -80,6 +80,7 @@ int main(){
|
||||
if(memcmp(begin, expected, sizeof(begin)) != 0) {
|
||||
// This happens when decryption fails
|
||||
printf(MESSAGE_UNAUTHORIZED);
|
||||
fflush(stdout);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user