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/sha256.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cipher/sha256.c') diff --git a/cipher/sha256.c b/cipher/sha256.c index b1a0d87e..657c8820 100644 --- a/cipher/sha256.c +++ b/cipher/sha256.c @@ -300,7 +300,7 @@ static gcry_md_oid_spec_t oid_spec_sha256[] = { NULL }, }; -gcry_md_spec_t digest_spec_sha256 = +gcry_md_spec_t _gcry_digest_spec_sha256 = { "SHA256", asn, DIM (asn), oid_spec_sha256, 32, sha256_init, sha256_write, sha256_final, sha256_read, -- cgit v1.2.1