commit f795e32b010346ac571b65cd0bfa725a7ae9d3fb parent f493122033ca813d571624745ebb38bb037a5e66 Author: Christian Grothoff <christian@grothoff.org> Date: Sat, 27 Nov 2021 14:21:36 +0100 -fix size check for RSA-8k Diffstat:
| M | src/util/taler-exchange-secmod-rsa.c | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/util/taler-exchange-secmod-rsa.c b/src/util/taler-exchange-secmod-rsa.c @@ -1167,10 +1167,10 @@ import_key (void *cls, GNUNET_break (0 == close (fd)); return GNUNET_OK; } - if (sbuf.st_size > 2048) + if (sbuf.st_size > 16 * 1024) { GNUNET_log (GNUNET_ERROR_TYPE_ERROR, - "File `%s' to big to be a private key\n", + "File `%s' too big to be a private key\n", filename); GNUNET_DISK_file_close (fh); return GNUNET_OK;