aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_test_supported.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--librecrypt_test_supported.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/librecrypt_test_supported.c b/librecrypt_test_supported.c
index 6d2a7a6..9cc8bd5 100644
--- a/librecrypt_test_supported.c
+++ b/librecrypt_test_supported.c
@@ -4,13 +4,11 @@
int
-librecrypt_test_supported(const char *phrase, size_t len, int text, const char *settings, void *reserved)
+librecrypt_test_supported(const char *phrase, size_t len, int text, const char *settings, LIBRECRYPT_CONTEXT *ctx)
{
const struct librecrypt_algorithm *algo;
size_t n;
- (void) reserved;
-
/* For each chained algorithm */
for (;;) {
/* Measure until next '>' */
@@ -19,7 +17,7 @@ librecrypt_test_supported(const char *phrase, size_t len, int text, const char *
break;
/* Identify algorithm */
- algo = librecrypt_find_first_algorithm_(settings, n);
+ algo = librecrypt_find_first_algorithm_(settings, n, ctx);
if (!algo)
return 0;