Changeset View
Changeset View
Standalone View
Standalone View
b/g10/gpg.c
Context not available. | |||||
#endif | #endif | ||||
/* Initialize the secure memory. */ | /* Initialize the secure memory. */ | ||||
#if GNUPG_MAX_RSA_KEY_SIZE > 4096 | |||||
if (!gcry_control (GCRYCTL_INIT_SECMEM, 131072, 0)) | |||||
got_secmem = 1; | |||||
#else | |||||
if (!gcry_control (GCRYCTL_INIT_SECMEM, 32768, 0)) | if (!gcry_control (GCRYCTL_INIT_SECMEM, 32768, 0)) | ||||
got_secmem = 1; | got_secmem = 1; | ||||
#endif | |||||
#if defined(HAVE_GETUID) && defined(HAVE_GETEUID) | #if defined(HAVE_GETUID) && defined(HAVE_GETEUID) | ||||
/* There should be no way to get to this spot while still carrying | /* There should be no way to get to this spot while still carrying | ||||
setuid privs. Just in case, bomb out if we are. */ | setuid privs. Just in case, bomb out if we are. */ | ||||
Context not available. |