aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-08-16 17:06:28 +0000
committerWerner Koch <[email protected]>2016-08-16 17:06:28 +0000
commitb5d63e81d5c472647decc7687cef91fee0378eb8 (patch)
tree29a33f72a39cdc8d0983f0c2a35f966a3e4a0422
parentg13: Allow the use of a g13tab label for --mount. (diff)
downloadgnupg-b5d63e81d5c472647decc7687cef91fee0378eb8.tar.gz
gnupg-b5d63e81d5c472647decc7687cef91fee0378eb8.zip
agent: Allow import of overly large keys.
* agent/command.c (MAXLEN_KEYDATA): Double the size. -- Debian-bug-id: 834447 Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
-rw-r--r--agent/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/command.c b/agent/command.c
index 7fc28ad96..9522f8989 100644
--- a/agent/command.c
+++ b/agent/command.c
@@ -49,7 +49,7 @@
/* Maximum allowed size of the key parameters. */
#define MAXLEN_KEYPARAM 1024
/* Maximum allowed size of key data as used in inquiries (bytes). */
-#define MAXLEN_KEYDATA 4096
+#define MAXLEN_KEYDATA 8192
/* The size of the import/export KEK key (in bytes). */
#define KEYWRAP_KEYSIZE (128/8)