Tweak the size of stack of openpgp-card thread.

This commit is contained in:
NIIBE Yutaka
2017-10-04 10:45:39 +09:00
parent 3adbe30c4d
commit 550010f25f
2 changed files with 3 additions and 1 deletions

View File

@@ -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.

View 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 */