diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2016-12-06 17:01:22 +0100 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2016-12-06 17:02:47 +0100 |
commit | 8636ad5023a1bdc527add40a5508f8c5b7c35221 (patch) | |
tree | 4e8e7bdde6960ee2b8da8e52220a0970a3ca597a /agent/gpg-agent.c | |
parent | tests: Add test importing a revocation certificate. (diff) | |
download | gnupg2-8636ad5023a1bdc527add40a5508f8c5b7c35221.tar.xz gnupg2-8636ad5023a1bdc527add40a5508f8c5b7c35221.zip |
agent: Respect --enable-large-secmem
* agent/gpg-agent.c (main): Initialize secmem to the configured buffer
size.
--
This patch is a step toward addressing
GnuPG-bug-id: 2857
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Diffstat (limited to 'agent/gpg-agent.c')
-rw-r--r-- | agent/gpg-agent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c index 710357c72..5e2e4bfd7 100644 --- a/agent/gpg-agent.c +++ b/agent/gpg-agent.c @@ -1055,7 +1055,7 @@ main (int argc, char **argv ) } /* Initialize the secure memory. */ - gcry_control (GCRYCTL_INIT_SECMEM, 32768, 0); + gcry_control (GCRYCTL_INIT_SECMEM, SECMEM_BUFFER_SIZE, 0); maybe_setuid = 0; /* |