summaryrefslogtreecommitdiff
path: root/cipher/tiger.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>1999-02-10 16:22:37 +0000
committerWerner Koch <wk@gnupg.org>1999-02-10 16:22:37 +0000
commita7f3353934272f03a3462eae96feaa35a54dd6fe (patch)
treed73578901be3da3cd0d34e43a92f04e0868ccafe /cipher/tiger.c
parentfb72622bbd2a7bd6ae6cefdef1f0d69c76625f0f (diff)
downloadlibgcrypt-a7f3353934272f03a3462eae96feaa35a54dd6fe.tar.gz
See ChangeLog: Wed Feb 10 17:15:39 CET 1999 Werner Koch
Diffstat (limited to 'cipher/tiger.c')
-rw-r--r--cipher/tiger.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/cipher/tiger.c b/cipher/tiger.c
index 20d17cae..0765f0bb 100644
--- a/cipher/tiger.c
+++ b/cipher/tiger.c
@@ -909,6 +909,9 @@ tiger_get_info( int algo, size_t *contextsize,
+#ifndef IS_MODULE
+static
+#endif
const char * const gnupgext_version = "TIGER ($Revision$)";
static struct {
@@ -938,6 +941,9 @@ static struct {
* version = interface version of the function/pointer
* (currently this is 1 for all functions)
*/
+#ifndef IS_MODULE
+static
+#endif
void *
gnupgext_enum_func( int what, int *sequence, int *class, int *vers )
{
@@ -969,5 +975,17 @@ gnupgext_enum_func( int what, int *sequence, int *class, int *vers )
return ret;
}
+
+
+#ifndef IS_MODULE
+void
+tiger_constructor(void)
+{
+ register_internal_cipher_extension( gnupgext_version,
+ gnupgext_enum_func );
+}
+#endif
+
+
#endif /* HAVE_U64_TYPEDEF */