1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

Revert that last stupid setuid detection fix.

This commit is contained in:
Werner Koch 2008-07-17 19:49:51 +00:00
parent 9d5a10a453
commit a7c9e79190
5 changed files with 5 additions and 15 deletions

View file

@ -2015,8 +2015,8 @@ main (int argc, char **argv)
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 (and are not root). */
if (getuid () && getuid () != geteuid ())
setuid privs. Just in case, bomb out if we are. */
if ( getuid () != geteuid () )
BUG ();
#endif
maybe_setuid = 0;