diff options
| author | Werner Koch <[email protected]> | 2006-08-21 20:20:23 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2006-08-21 20:20:23 +0000 |
| commit | 0ebd23fa76e5af72ad3dc33144efa45500101a1b (patch) | |
| tree | f5b5f10a242e8d597c7fc599663a455350f0c43b /g10/keygen.c | |
| parent | disconnectafter wake-up bug fix by Bob Dunlop. (diff) | |
| download | gnupg-0ebd23fa76e5af72ad3dc33144efa45500101a1b.tar.gz gnupg-0ebd23fa76e5af72ad3dc33144efa45500101a1b.zip | |
Migrated more stuff to doc/
Migrated the gpg regression tests.
Some changes tp the gpg code to fix bugs and
for the use in testing.
make distcheck works now with gpg enabled.
Diffstat (limited to 'g10/keygen.c')
| -rw-r--r-- | g10/keygen.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/g10/keygen.c b/g10/keygen.c index 063c775e9..32bccbb5f 100644 --- a/g10/keygen.c +++ b/g10/keygen.c @@ -1949,11 +1949,9 @@ ask_user_id( int mode ) if( *amail ) p = stpcpy(stpcpy(stpcpy(p," <"), amail),">"); - /* append a warning if we do not have dev/random - * or it is switched into quick testmode */ - /* FIXME: see skclist.c:random_is_faked */ - /* if( quick_random_gen(-1) ) */ - /* strcpy(p, " (INSECURE!)" ); */ + /* Append a warning if the RNG is switched into fake mode. */ + if ( random_is_faked () ) + strcpy(p, " (insecure!)" ); /* print a note in case that UTF8 mapping has to be done */ for(p=uid; *p; p++ ) { |
