diff options
author | Werner Koch <wk@gnupg.org> | 1998-11-10 13:59:59 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1998-11-10 13:59:59 +0100 |
commit | b076ce302189d619d170089f70afdb72dd0bf967 (patch) | |
tree | 736281f795268c3f712ed29167e21bc9078fc698 /cipher | |
parent | ready to release 0.4.3 (diff) | |
download | gnupg2-b076ce302189d619d170089f70afdb72dd0bf967.tar.xz gnupg2-b076ce302189d619d170089f70afdb72dd0bf967.zip |
Some bug fixes of the last release
Diffstat (limited to 'cipher')
-rw-r--r-- | cipher/des.c | 4 | ||||
-rw-r--r-- | cipher/md.c | 6 | ||||
-rw-r--r-- | cipher/rand-dummy.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/cipher/des.c b/cipher/des.c index ef8ce7de3..f730568e0 100644 --- a/cipher/des.c +++ b/cipher/des.c @@ -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. * diff --git a/cipher/md.c b/cipher/md.c index 819cc1d08..9a2b17920 100644 --- a/cipher/md.c +++ b/cipher/md.c @@ -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; } diff --git a/cipher/rand-dummy.c b/cipher/rand-dummy.c index 2cb275bdc..093108b06 100644 --- a/cipher/rand-dummy.c +++ b/cipher/rand-dummy.c @@ -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")); |