summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-05-27 22:35:03 +0800
committerKeuin <[email protected]>2022-05-27 22:35:03 +0800
commit4859a329e10958fae6058ba67f21306c638adf6c (patch)
tree08aca9d3639593321665cac12b05e4b0d32c5e60
parent59f532f28d80b24a0dfbea8119bc93bf8e274aab (diff)
Do not print message if padding is invalid.
-rw-r--r--main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.c b/main.c
index 42f76e3..063b1bd 100644
--- a/main.c
+++ b/main.c
@@ -193,7 +193,6 @@ int thread_worker(thread_param *param) {
assert(pad_length < ciphertext_length);
if (pad_length < 0) {
/* invalid pad, this key is incorrect, skip it */
- fprintf(stderr, "Invalid pad.\n");
continue;
}