gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] branch master updated: -fix size check for RSA-8k


From: gnunet
Subject: [taler-exchange] branch master updated: -fix size check for RSA-8k
Date: Sat, 27 Nov 2021 14:21:44 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new f795e32b -fix size check for RSA-8k
f795e32b is described below

commit f795e32b010346ac571b65cd0bfa725a7ae9d3fb
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sat Nov 27 14:21:36 2021 +0100

    -fix size check for RSA-8k
---
 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
index b384be13..343ae3c4 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;

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]