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);
|
free(default_pad);
|
||||||
|
|
||||||
// Call encrypt_text and then comment about using default pad
|
// Call encrypt_text and return result
|
||||||
int result = encrypt_text(pad_identifier, text);
|
return encrypt_text(pad_identifier, text);
|
||||||
return result;
|
|
||||||
} else {
|
} else {
|
||||||
printf("Error: No default pad configured. Specify pad explicitly or configure default pad.\n");
|
printf("Error: No default pad configured. Specify pad explicitly or configure default pad.\n");
|
||||||
return 1;
|
return 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user