summaryrefslogtreecommitdiffstats
path: root/cipher/g10c.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/g10c.c')
-rw-r--r--cipher/g10c.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/cipher/g10c.c b/cipher/g10c.c
index d5f79bda5..263091d49 100644
--- a/cipher/g10c.c
+++ b/cipher/g10c.c
@@ -36,3 +36,9 @@ g10c_generate_secret_prime( unsigned nbits )
}
+char *
+g10c_get_random_bits( unsigned nbits, int level, int secure )
+{
+ return (char*)get_random_bits( nbits, level, secure );
+}
+