aboutsummaryrefslogtreecommitdiffstats
path: root/cipher/idea-stub.c
diff options
context:
space:
mode:
authorStefan Bellon <[email protected]>2002-08-03 18:35:16 +0000
committerStefan Bellon <[email protected]>2002-08-03 18:35:16 +0000
commit582f0d5d98a303ac8ed2d87d3afc42929f0fdd2d (patch)
treefdf1ffdc95ccb3bf1369169d1c2f84a91b7657d6 /cipher/idea-stub.c
parentThe big extension module removal. (diff)
downloadgnupg-582f0d5d98a303ac8ed2d87d3afc42929f0fdd2d.tar.gz
gnupg-582f0d5d98a303ac8ed2d87d3afc42929f0fdd2d.zip
RISC OS changes due to dynload removal
Diffstat (limited to '')
-rw-r--r--cipher/idea-stub.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/cipher/idea-stub.c b/cipher/idea-stub.c
index 3a9782037..9dd0ced30 100644
--- a/cipher/idea-stub.c
+++ b/cipher/idea-stub.c
@@ -148,6 +148,13 @@ load_module (const char *name)
return NULL;
}
+#ifdef __riscos__
+typedef
+const char *(*INFO_CAST)(int, size_t*, size_t*, size_t*,
+ int (**)( void *, byte *, unsigned),
+ void (**)( void *, byte *, byte *),
+ void (**)( void *, byte *, byte *));
+#endif /* __riscos__ */
const char *
idea_get_info( int algo, size_t *keylen,
@@ -170,7 +177,11 @@ idea_get_info( int algo, size_t *keylen,
initialized = 1;
for (i=0; (rstr = dynload_enum_module_names (i)); i++)
{
+#ifndef __riscos__
info_fnc = load_module (rstr);
+#else /* __riscos__ */
+ info_fnc = (INFO_CAST) load_module (rstr);
+#endif /* __riscos__ */
if (info_fnc)
break;
}