summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2008-08-04 13:16:45 +0000
committerWerner Koch <wk@gnupg.org>2008-08-04 13:16:45 +0000
commitb202832f13ca0ecce65767e4448e7e91eda1214e (patch)
treeaa79d357442f311d2738e3e950635c4969066b28
parentb43501cc3f5b760da701e48a48e00634ad06e461 (diff)
downloadlibgcrypt-b202832f13ca0ecce65767e4448e7e91eda1214e.tar.gz
Clarify license entry.
Small indentation change.
-rw-r--r--AUTHORS3
-rw-r--r--random/rndunix.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/AUTHORS b/AUTHORS
index 06db5045..8d2d8d90 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -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 ) ) {