diff options
author | Werner Koch <wk@gnupg.org> | 2007-08-22 09:11:06 +0000 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2007-08-22 09:11:06 +0000 |
commit | d6524c799ba7b65fd77458eaa2ba831dbbeb9163 (patch) | |
tree | 9962762f494e990512d507c32b3d9d0d554fc29e /cipher/md.c | |
parent | db6a84d79e4293194dfa0f68f7ac7dc66bb9c5d5 (diff) | |
download | libgcrypt-d6524c799ba7b65fd77458eaa2ba831dbbeb9163.tar.gz |
Changed rndw32 to LGPL.
Typo fixes.
Diffstat (limited to 'cipher/md.c')
-rw-r--r-- | cipher/md.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cipher/md.c b/cipher/md.c index 28860135..e1cb27dd 100644 --- a/cipher/md.c +++ b/cipher/md.c @@ -885,7 +885,7 @@ md_read( gcry_md_hd_t a, int algo ) { /* return the first algorithm */ if (r && r->next) - log_debug("more than algorithm in md_read(0)\n"); + log_debug ("more than one algorithm in md_read(0)\n"); return r->digest->read( &r->context.c ); } else @@ -1133,7 +1133,7 @@ gcry_md_algo_info (int algo, int what, void *buffer, size_t *nbytes) memcpy (buffer, asn, asnlen); *nbytes = asnlen; } - else if ((! buffer) && nbytes) + else if (!buffer && nbytes) *nbytes = asnlen; else { @@ -1200,7 +1200,7 @@ md_stop_debug( gcry_md_hd_t md ) * Returns 1 when the handle works on secured memory * otherwise 0 is returned. There is no error return. * GCRYCTL_IS_ALGO_ENABLED: - * Returns 1 if the algo is enanled for that handle. + * Returns 1 if the algo is enabled for that handle. * The algo must be passed as the address of an int. */ gcry_error_t |