diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-27 14:21:36 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-27 14:21:36 +0100 |
commit | f795e32b010346ac571b65cd0bfa725a7ae9d3fb (patch) | |
tree | f792c507d019f0894ade7e87296fc300a4b0db6d | |
parent | f493122033ca813d571624745ebb38bb037a5e66 (diff) | |
download | exchange-f795e32b010346ac571b65cd0bfa725a7ae9d3fb.tar.xz |
-fix size check for RSA-8k
-rw-r--r-- | src/util/taler-exchange-secmod-rsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/taler-exchange-secmod-rsa.c b/src/util/taler-exchange-secmod-rsa.c index b384be138..343ae3c43 100644 --- 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; |