Version v0.2.99 - Correct bug
This commit is contained in:
5
otp.c
5
otp.c
@@ -315,9 +315,8 @@ int command_line_mode(int argc, char* argv[]) {
|
||||
}
|
||||
free(default_pad);
|
||||
|
||||
// Call encrypt_text and then comment about using default pad
|
||||
int result = encrypt_text(pad_identifier, text);
|
||||
return result;
|
||||
// Call encrypt_text and return result
|
||||
return encrypt_text(pad_identifier, text);
|
||||
} else {
|
||||
printf("Error: No default pad configured. Specify pad explicitly or configure default pad.\n");
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user