summaryrefslogtreecommitdiff
path: root/cipher/sha1.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2001-05-31 14:16:54 +0000
committerWerner Koch <wk@gnupg.org>2001-05-31 14:16:54 +0000
commit8bfa2df2135a1bd9823067debf0c8799bac4a936 (patch)
treeb91075d39633de4f762dca14ae2323053ded62c8 /cipher/sha1.c
parent08e3fbb986bed2f39cc5dca806faca9654c3a6df (diff)
downloadlibgcrypt-8bfa2df2135a1bd9823067debf0c8799bac4a936.tar.gz
The first libgcrypt only release.
Diffstat (limited to 'cipher/sha1.c')
-rw-r--r--cipher/sha1.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cipher/sha1.c b/cipher/sha1.c
index da9bd153..39583208 100644
--- a/cipher/sha1.c
+++ b/cipher/sha1.c
@@ -1,5 +1,5 @@
/* sha1.c - SHA1 hash function
- * Copyright (C) 1998 Free Software Foundation, Inc.
+ * Copyright (C) 1998, 2001 Free Software Foundation, Inc.
*
* Please see below for more legal information!
*
@@ -52,7 +52,7 @@ typedef struct {
-void
+static void
sha1_init( SHA1_CONTEXT *hd )
{
hd->h0 = 0x67452301;
@@ -401,9 +401,9 @@ gnupgext_enum_func( int what, int *sequence, int *class, int *vers )
#ifndef IS_MODULE
void
-sha1_constructor(void)
+_gcry_sha1_constructor(void)
{
- register_internal_cipher_extension( gnupgext_version, gnupgext_enum_func );
+ _gcry_register_internal_cipher_extension( gnupgext_version, gnupgext_enum_func );
}
#endif