diff options
-rw-r--r-- | AUTHORS | 3 | ||||
-rw-r--r-- | random/rndunix.c | 4 |
2 files changed, 4 insertions, 3 deletions
@@ -2,7 +2,8 @@ Library: Libgcrypt Maintainer: Werner Koch <wk@gnupg.org> Bug reports: <bug-libgcrypt@gnupg.org> or http://bugs.gnupg.org Security related bug reports: <security@gnupg.org> -License: LGPLv2.1+ +License (library): LGPLv2.1+ +License (manual and tools): GPLv2+ Libgcrypt used to be part of GnuPG but has been taken out into its own package on 2000-12-21. diff --git a/random/rndunix.c b/random/rndunix.c index 0524ca8c..0a04eb21 100644 --- a/random/rndunix.c +++ b/random/rndunix.c @@ -820,8 +820,8 @@ _gcry_rndunix_gather_random (void (*add)(const void*, size_t, return 0; if( !gatherer_pid ) { - /* make sure we are not setuid */ - if( getuid() != geteuid() ) + /* Make sure we are not setuid. */ + if ( getuid() != geteuid() ) BUG(); /* time to start the gatherer process */ if( pipe( pipedes ) ) { |