aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'librecrypt_hash.c')
-rw-r--r--librecrypt_hash.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/librecrypt_hash.c b/librecrypt_hash.c
index e00c35b..06bfe65 100644
--- a/librecrypt_hash.c
+++ b/librecrypt_hash.c
@@ -4,9 +4,10 @@
ssize_t
-librecrypt_hash(char *restrict out_buffer, size_t size, const char *phrase, size_t len, const char *settings, void *reserved)
+librecrypt_hash(char *restrict out_buffer, size_t size, const char *phrase,
+ size_t len, const char *settings, LIBRECRYPT_CONTEXT *ctx)
{
- return librecrypt_hash_(out_buffer, size, phrase, len, settings, reserved, ASCII_HASH);
+ return librecrypt_hash_(out_buffer, size, phrase, len, settings, ctx, ASCII_HASH);
}