mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-21 10:09:57 +01:00
agent: Replace hack for old Libgcrypt versions for auto-expand-secmem.
* agent/gpg-agent.c (main) <oAutoExpandSecmem>: Use Libgcrypt const.
This commit is contained in:
parent
19871fa08c
commit
ca953ae5f7
@ -1326,10 +1326,7 @@ main (int argc, char **argv)
|
||||
break;
|
||||
|
||||
case oAutoExpandSecmem:
|
||||
/* Try to enable this option. It will officially only be
|
||||
* supported by Libgcrypt 1.9 but 1.8.2 already supports it
|
||||
* on the quiet and thus we use the numeric value value. */
|
||||
gcry_control (78 /*GCRYCTL_AUTO_EXPAND_SECMEM*/,
|
||||
gcry_control (GCRYCTL_AUTO_EXPAND_SECMEM,
|
||||
(unsigned int)pargs.r.ret_ulong, 0);
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user