summaryrefslogtreecommitdiff
path: root/cipher/sha1.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2003-10-27 13:08:05 +0000
committerWerner Koch <wk@gnupg.org>2003-10-27 13:08:05 +0000
commitcc0fe4e847c7855e90b9af730f1ce092bb35993f (patch)
treee6d82f503cf6b493e4486b508ea5e763d8eefbac /cipher/sha1.c
parent5733ae5616a765660408683ec6dca22c912e11ae (diff)
downloadlibgcrypt-cc0fe4e847c7855e90b9af730f1ce092bb35993f.tar.gz
* configure.ac: Give a hint on where libgpg-error is available.
Reformatted long lines. Don't include gcrypt-defs.h. * ac.c (ac_key_identifiers): Made static. * random.c (getfnc_gather_random,getfnc_fast_random_poll): Move prototypes to .. * rand-internal.h: .. here * random.c (getfnc_gather_random): Include rndw32 gatherer. * rndunix.c, rndw32.c, rndegd.c: Include them here. * rndlinux.c (_gcry_rndlinux_gather_random): Prepend the _gcry_ prefix. Changed all callers. * rndegd.c (_gcry_rndegd_gather_random): Likewise. (_gcry_rndegd_connect_socket): Likewise. * rndunix.c (_gcry_rndunix_gather_random): Likewise. (waitpid): Made static. * rndw32.c: Removed the old and unused winseed.dll cruft. (_gcry_rndw32_gather_random_fast): Renamed from gather_random_fast. (_gcry_rndw32_gather_random): Renamed from gather_random. Note, that the changes 2003-04-08 somehow got lost. * sha512.c (sha512_init, sha384_init): Made static. * cipher.c (do_ctr_decrypt): Removed "return" from this void function. * gcrypt.h (gcry_pk_testkey): Doc fix. * libgcrypt.def: Manually wrote this file. * build-def: This file should not be used anymore.
Diffstat (limited to 'cipher/sha1.c')
-rw-r--r--cipher/sha1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/sha1.c b/cipher/sha1.c
index ae584864..eb8a616a 100644
--- a/cipher/sha1.c
+++ b/cipher/sha1.c
@@ -332,7 +332,7 @@ static gcry_md_oid_spec_t oid_spec_sha1[] =
{ NULL },
};
-gcry_md_spec_t digest_spec_sha1 =
+gcry_md_spec_t _gcry_digest_spec_sha1 =
{
"SHA1", asn, DIM (asn), oid_spec_sha1, 20,
sha1_init, sha1_write, sha1_final, sha1_read,