1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

Some bug fixes of the last release

This commit is contained in:
Werner Koch 1998-11-10 12:59:59 +00:00
parent 35c1054507
commit b076ce3021
52 changed files with 2853 additions and 1804 deletions

View file

@ -5,8 +5,8 @@
*
* According to the definition of DES in FIPS PUB 46-2 from December 1993.
* For a description of triple encryption, see:
* Bruce Schneier: Applied Cryptography. Second Edition. John Wiley & Sons, 1996
* ISBN 0-471-12845-7. Pages 358 ff.
* Bruce Schneier: Applied Cryptography. Second Edition.
* John Wiley & Sons, 1996. ISBN 0-471-12845-7. Pages 358 ff.
*
* This file is part of GNUPG.
*

View file

@ -420,7 +420,7 @@ md_get_algo( MD_HANDLE a )
if( (r=a->list) ) {
if( r->next )
log_error("warning: more than algorithm in md_get_algo()\n");
log_error("WARNING: more than algorithm in md_get_algo()\n");
return r->algo;
}
return 0;
@ -440,7 +440,7 @@ md_digest_length( int algo )
return r->mdlen;
}
} while( !r && load_digest_modules() );
log_error("warning: no length for md algo %d\n", algo);
log_error("WARNING: no length for md algo %d\n", algo);
return 0;
}
@ -463,7 +463,7 @@ md_asn_oid( int algo, size_t *asnlen, size_t *mdlen )
}
}
} while( !r && load_digest_modules() );
log_bug("warning: no asn for md algo %d\n", algo);
log_bug("no asn for md algo %d\n", algo);
return NULL;
}

View file

@ -109,7 +109,7 @@ read_random_source( byte *buffer, size_t length, int level )
static int initialized=0;
if( !initialized ) {
log_info(_("warning: using insecure random number generator!!\n"));
log_info(_("WARNING: using insecure random number generator!!\n"));
tty_printf(_("The random number generator is only a kludge to let\n"
"it compile - it is in no way a strong RNG!\n\n"
"DON'T USE ANY DATA GENERATED BY THIS PROGRAM!!\n\n"));