Tweak the size of stack of openpgp-card thread.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 4 Oct 2017 01:45:39 +0000 (10:45 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Wed, 4 Oct 2017 01:45:39 +0000 (10:45 +0900)
ChangeLog
src/stack-def.h

index dba5078..391b37b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2017-10-04  NIIBE Yutaka  <gniibe@fsij.org>
 
+       * src/stack-def.h (SIZE_3): Tweak the size.
+
        * src/openpgp-do.c (gpg_do_keygen): Do RSA key generation in two
        steps.
 
index c9d5a4c..c339fd3 100644 (file)
@@ -1,7 +1,7 @@
 #ifdef GNU_LINUX_EMULATION
 #define SIZE_1 4096
 #define SIZE_2 4096
-#define SIZE_3 4096
+#define SIZE_3 (4 * 4096)
 #else
 #define SIZE_0 0x0100 /* Main         */
 #define SIZE_1 0x00c0 /* CCID         */