diff options
Diffstat (limited to 'cipher')
-rw-r--r-- | cipher/ChangeLog | 5 | ||||
-rw-r--r-- | cipher/bithelp.h | 2 | ||||
-rw-r--r-- | cipher/blowfish.h | 2 | ||||
-rw-r--r-- | cipher/cast5.h | 2 | ||||
-rw-r--r-- | cipher/des.h | 2 | ||||
-rw-r--r-- | cipher/dsa.c | 2 | ||||
-rw-r--r-- | cipher/dsa.h | 2 | ||||
-rw-r--r-- | cipher/dynload.c | 2 | ||||
-rw-r--r-- | cipher/dynload.h | 2 | ||||
-rw-r--r-- | cipher/elgamal.h | 2 | ||||
-rw-r--r-- | cipher/g10c.c | 2 | ||||
-rw-r--r-- | cipher/md.c | 2 | ||||
-rw-r--r-- | cipher/random.c | 8 |
13 files changed, 21 insertions, 14 deletions
diff --git a/cipher/ChangeLog b/cipher/ChangeLog index 133b3bc80..7c26c571e 100644 --- a/cipher/ChangeLog +++ b/cipher/ChangeLog @@ -1,3 +1,8 @@ +2001-04-29 Werner Koch <[email protected]> + + * random.c (fast_random_poll): Do not check the return code of + getrusage. + 2001-04-17 Werner Koch <[email protected]> * rndunix.c: Add a signal.h header to avoid warnings on SOlaris 7 diff --git a/cipher/bithelp.h b/cipher/bithelp.h index 6832b2a04..188db168a 100644 --- a/cipher/bithelp.h +++ b/cipher/bithelp.h @@ -1,5 +1,5 @@ /* bithelp.h - Some bit manipulation helpers - * Copyright (C) 1999, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1999 Free Software Foundation, Inc. * * This file is part of GnuPG. * diff --git a/cipher/blowfish.h b/cipher/blowfish.h index f6aaaf67e..bed034c73 100644 --- a/cipher/blowfish.h +++ b/cipher/blowfish.h @@ -1,5 +1,5 @@ /* blowfish.h - * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998 Free Software Foundation, Inc. * * This file is part of GnuPG. * diff --git a/cipher/cast5.h b/cipher/cast5.h index 2d14d4368..798eaa23f 100644 --- a/cipher/cast5.h +++ b/cipher/cast5.h @@ -1,5 +1,5 @@ /* cast5.h - * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998 Free Software Foundation, Inc. * * This file is part of GnuPG. * diff --git a/cipher/des.h b/cipher/des.h index ee6830c3f..f68560686 100644 --- a/cipher/des.h +++ b/cipher/des.h @@ -1,5 +1,5 @@ /* des.h - * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998 Free Software Foundation, Inc. * * This file is part of GnuPG. * diff --git a/cipher/dsa.c b/cipher/dsa.c index 65fe55a54..d728a1b10 100644 --- a/cipher/dsa.c +++ b/cipher/dsa.c @@ -1,5 +1,5 @@ /* dsa.c - DSA signature algorithm - * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. * * This file is part of GnuPG. * diff --git a/cipher/dsa.h b/cipher/dsa.h index 6cd762b3a..89fd1f5a0 100644 --- a/cipher/dsa.h +++ b/cipher/dsa.h @@ -1,5 +1,5 @@ /* dsa.h - DSA signature algorithm - * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998 Free Software Foundation, Inc. * * This file is part of GnuPG. * diff --git a/cipher/dynload.c b/cipher/dynload.c index 291e2429c..955367f1d 100644 --- a/cipher/dynload.c +++ b/cipher/dynload.c @@ -1,5 +1,5 @@ /* dynload.c - load cipher extensions - * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc. * * This file is part of GnuPG. * diff --git a/cipher/dynload.h b/cipher/dynload.h index a769923aa..328a7197b 100644 --- a/cipher/dynload.h +++ b/cipher/dynload.h @@ -1,5 +1,5 @@ /* dynload.h - * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998 Free Software Foundation, Inc. * * This file is part of GnuPG. * diff --git a/cipher/elgamal.h b/cipher/elgamal.h index c438e1ab9..f104c2a52 100644 --- a/cipher/elgamal.h +++ b/cipher/elgamal.h @@ -1,5 +1,5 @@ /* elgamal.h - * Copyright (C) 1998, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998 Free Software Foundation, Inc. * * This file is part of GnuPG. * diff --git a/cipher/g10c.c b/cipher/g10c.c index feee08d80..7b0f4fa61 100644 --- a/cipher/g10c.c +++ b/cipher/g10c.c @@ -1,5 +1,5 @@ /* g10c.c - Wrapper for cipher functions - * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 1999 Free Software Foundation, Inc. * * This file is part of GnuPG. * diff --git a/cipher/md.c b/cipher/md.c index 032eeccdf..3064b47d2 100644 --- a/cipher/md.c +++ b/cipher/md.c @@ -1,5 +1,5 @@ /* md.c - message digest dispatcher - * Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + * Copyright (C) 1998, 1999 Free Software Foundation, Inc. * * This file is part of GnuPG. * diff --git a/cipher/random.c b/cipher/random.c index e93a0bdd7..198663536 100644 --- a/cipher/random.c +++ b/cipher/random.c @@ -604,9 +604,11 @@ fast_random_poll() #else { struct rusage buf; /* QNX/Neutrino does return ENOSYS - so we just ignore it and - * add whatever is in buf */ - if( getrusage( RUSAGE_SELF, &buf ) && errno != ENOSYS ) - BUG(); + * add whatever is in buf. In a chroot environment it might not + * work at all (i.e. because /proc/ is not accessible), so we better + * ognore all error codes and hope for the best + */ + getrusage( RUSAGE_SELF, &buf ); add_randomness( &buf, sizeof buf, 1 ); memset( &buf, 0, sizeof buf ); |