caam: fix compilation error for 64 bit systems
Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
This commit is contained in:
parent
2d1af89436
commit
cbdb94face
|
|
@ -198,7 +198,7 @@ int main(int argc, char *argv[])
|
||||||
/* this is a limitation of the current driver implementation */
|
/* this is a limitation of the current driver implementation */
|
||||||
if (input_len > max_input_len) {
|
if (input_len > max_input_len) {
|
||||||
fprintf(stderr, "[ERROR] Input is too big, continuing may result in unexpected behavior.\n"
|
fprintf(stderr, "[ERROR] Input is too big, continuing may result in unexpected behavior.\n"
|
||||||
"[ERROR] The maximum input size for %s is %u bytes.\n",
|
"[ERROR] The maximum input size for %s is %zu bytes.\n",
|
||||||
op == ENCRYPT ? "encryption" : "decryption", max_input_len);
|
op == ENCRYPT ? "encryption" : "decryption", max_input_len);
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue