diff options
Diffstat (limited to 'src/libcryptobox/curve25519/curve25519.c')
-rw-r--r-- | src/libcryptobox/curve25519/curve25519.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libcryptobox/curve25519/curve25519.c b/src/libcryptobox/curve25519/curve25519.c index 220a1da13..62a253069 100644 --- a/src/libcryptobox/curve25519/curve25519.c +++ b/src/libcryptobox/curve25519/curve25519.c @@ -119,7 +119,7 @@ curve25519_test_impl (const curve25519_impl_t *impl) return TRUE; } -void +const char* curve25519_load (void) { guint i; @@ -132,7 +132,10 @@ curve25519_load (void) } } } + g_assert (curve25519_test_impl (curve25519_opt)); + + return curve25519_opt->desc; } int |