From cc0fe4e847c7855e90b9af730f1ce092bb35993f Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 27 Oct 2003 13:08:05 +0000 Subject: * 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. --- cipher/sha1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cipher/sha1.c') 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, -- cgit v1.2.1