mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* rndunix.c (start_gatherer) [ENABLE_SELINUX_HACKS]: Don't allow
logging. * gpgkeys_finger.c (get_key): s/unsigned char/byte/ due to a strange typedef for RISC OS. Noted by Stefan.
This commit is contained in:
parent
299ab4e48d
commit
8f70a693ac
6 changed files with 21 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-10-14 Werner Koch <wk@g10code.com>
|
||||
|
||||
* rndunix.c (start_gatherer) [ENABLE_SELINUX_HACKS]: Don't allow
|
||||
logging.
|
||||
|
||||
2004-10-12 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* algorithms.h, cast5.c, cipher.c, idea-stub.c, twofish.c,
|
||||
|
|
|
@ -652,6 +652,13 @@ start_gatherer( int pipefd )
|
|||
FILE *dbgfp = NULL;
|
||||
int dbgall;
|
||||
|
||||
#ifdef ENABLE_SELINUX_HACKS
|
||||
/* We don't allow writing to the log file because this might be
|
||||
sued to corrupt a secured file. Given that this is used as a
|
||||
library by the ../g10/ code, we can't access the check function
|
||||
from ../g10/misc.c. */
|
||||
dbgall = 0;
|
||||
#else
|
||||
{
|
||||
const char *s = getenv("GNUPG_RNDUNIX_DBG");
|
||||
if( s ) {
|
||||
|
@ -664,7 +671,7 @@ start_gatherer( int pipefd )
|
|||
}
|
||||
dbgall = !!getenv("GNUPG_RNDUNIX_DBGALL");
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* Set up the buffer */
|
||||
gather_buffer_size = GATHER_BUFSIZE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue