aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/rndunix.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-01-15Fix possible AIX problem with sysconf in rndunix.Werner Koch1-3/+12
* cipher/rndunix.c [HAVE_STDINT_H]: Include stdint.h. (start_gatherer): Detect misbehaving sysconf. -- See GnuPG-bug-id: 1778 for the reason of this patch. There is no concrete bug report but this chnage should not harm. Signed-off-by: Werner Koch <[email protected]>
2015-01-19Fix a problem with select and high fds.Werner Koch1-3/+5
* cipher/rndlinux.c (rndlinux_gather_random): Check fd before using FD_SET. -- If on systems where the maximum number of fds may be dynamically configured to a value of FD_MAXSIZE or higher and the RNG is first used after more than FD_SETSIZE-1 descriptors are in use, we disable the progress messages from the RNG. A better solution would be too use poll but that requires more tests. The same problem exists in rndunix.c - however this rng is only used on old Unices and I assume that they don't feature dynamically configured maximum fd sizes. (from Libgcrypt commit 9487099071af4478d2882e633a0ade805801d6fa) This may fix GnuPG-bug-id: 1818
2008-07-17Revert that last stupid setuid detection fix.Werner Koch1-1/+1
2005-12-06* idea-stub.c (load_module): Not legal to return a void * as a functionDavid Shaw1-5/+0
pointer.
2004-10-14* rndunix.c (start_gatherer) [ENABLE_SELINUX_HACKS]: Don't allowWerner Koch1-1/+8
logging. * gpgkeys_finger.c (get_key): s/unsigned char/byte/ due to a strange typedef for RISC OS. Noted by Stefan.
2003-12-30* rijndael.c, rndunix.c, twofish.c: Remove dead IS_MODULE code.David Shaw1-2/+0
* g10c.c: Dead code. Remove. * Makefile.am: Don't compile g10c.c.
2003-05-24* bithelp.h, des.c, random.c, rndlinux.c, sha1.c, blowfish.c, elgamal.c,David Shaw1-20/+20
rijndael.c, rndunix.c, sha256.c, cast5.c, idea-stub.c, rmd160.c, rndw32.c, sha512.c, md5.c, rmd160test.c, rsa.c, tiger.c: Edit all preprocessor instructions to remove whitespace before the '#'. This is not required by C89, but there are some compilers out there that don't like it.
2002-10-12* rndunix.c (my_popen): Make sure that stdin and stderr areWerner Koch1-24/+41
connected to a file. This is to avoid NetBSD to complain about set{u,g}id programs invoked with fd 0, 2 closed. Reported by Cristian Biere. (start_gatherer): Likewise. Reordered code.
2002-08-04Removed some obsolete header files.V1-1-91Werner Koch1-1/+1
2002-08-03The big extension module removal.Werner Koch1-70/+7
2002-06-29Update head to match stable 1.0David Shaw1-0/+915
2000-12-19Removed files from the HEAD revision, because they are now in anotherWerner Koch1-916/+0
repository
2000-09-18See ChangeLog: Mon Sep 18 16:35:45 CEST 2000 Werner KochWerner Koch1-0/+5
2000-07-14See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner KochWerner Koch1-2/+51
1999-11-19See ChangeLog: Fri Nov 19 17:15:20 CET 1999 Werner KochWerner Koch1-1/+1
1999-11-15See ChangeLog: Mon Nov 15 21:36:02 CET 1999 Werner KochWerner Koch1-2/+2
1999-11-13See ChangeLog: Sat Nov 13 17:44:23 CET 1999 Werner KochWerner Koch1-0/+2
1999-03-11See ChangeLog: Thu Mar 11 16:39:46 CET 1999 Werner KochWerner Koch1-3/+42
1999-02-24See ChangeLog: Wed Feb 24 11:07:27 CET 1999 Werner KochWerner Koch1-1/+2
1999-02-20See ChangeLog: Sat Feb 20 21:40:49 CET 1999 Werner KochWerner Koch1-1/+1
1999-02-16See ChangeLog: Tue Feb 16 14:10:02 CET 1999 Werner KochWerner Koch1-4/+1
1999-02-10See ChangeLog: Wed Feb 10 17:15:39 CET 1999 Werner KochWerner Koch1-0/+3
1999-01-20See ChangeLog: Wed Jan 20 18:59:49 CET 1999 Werner KochWerner Koch1-1/+4
1999-01-16See ChangeLog: Sat Jan 16 09:27:30 CET 1999 Werner KochWerner Koch1-0/+7
1999-01-09See ChangeLog: Sat Jan 9 16:02:23 CET 1999 Werner KochWerner Koch1-0/+4
1999-01-03See ChangeLog: Sun Jan 3 15:28:44 CET 1999 Werner KochWerner Koch1-1/+1
1998-12-29See ChangeLog: Tue Dec 29 14:41:47 CET 1998 Werner KochWerner Koch1-1/+1
1998-12-14See ChangeLog: Mon Dec 14 21:18:49 CET 1998 Werner KochWerner Koch1-28/+36
1998-12-12See ChangeLog: Sat Dec 12 18:40:32 CET 1998 Werner KochWerner Koch1-223/+300
1998-12-10See ChangeLog: Thu Dec 10 20:15:36 CET 1998 Werner KochWerner Koch1-33/+0
1998-11-25Restructured the RNG source and add support for loadableWerner Koch1-0/+754
random modules.