mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +02:00
Fixes
This commit is contained in:
parent
0f49adb44e
commit
df52700f5c
41 changed files with 6137 additions and 6033 deletions
|
@ -1907,8 +1907,8 @@ main (int argc, char **argv )
|
|||
#endif
|
||||
|
||||
/* Initialize the secure memory. */
|
||||
gcry_control (GCRYCTL_INIT_SECMEM, 32768, 0);
|
||||
got_secmem = 1; /* FIXME: gcry_control should return an indicator. */
|
||||
if (!gcry_control (GCRYCTL_INIT_SECMEM, 32768, 0))
|
||||
got_secmem = 1;
|
||||
#if defined(HAVE_GETUID) && defined(HAVE_GETEUID)
|
||||
/* There should be no way to get to this spot while still carrying
|
||||
setuid privs. Just in case, bomb out if we are. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue