Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f118c23c60 |
2
otp.c
2
otp.c
@@ -2560,7 +2560,7 @@ int handle_file_encrypt(void) {
|
||||
int ascii_armor = (atoi(format_input) == 2) ? 1 : 0;
|
||||
|
||||
// Generate default output filename
|
||||
char default_output[512];
|
||||
char default_output[1024]; // Increased buffer size to prevent truncation warnings
|
||||
if (ascii_armor) {
|
||||
snprintf(default_output, sizeof(default_output), "%s.otp.asc", input_file);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user