mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19: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;
|
break;
|
||||||
|
|
||||||
case oAutoExpandSecmem:
|
case oAutoExpandSecmem:
|
||||||
/* Try to enable this option. It will officially only be
|
gcry_control (GCRYCTL_AUTO_EXPAND_SECMEM,
|
||||||
* 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*/,
|
|
||||||
(unsigned int)pargs.r.ret_ulong, 0);
|
(unsigned int)pargs.r.ret_ulong, 0);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user