aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_make_settings.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-05-20 20:29:04 +0200
committerMattias Andrée <m@maandree.se>2026-05-20 20:33:29 +0200
commit3454e0328d57f57852bf12d698b6b4a4736d0719 (patch)
treeb05330eabb10715b8fee2bbe022805ef386276b8 /librecrypt_make_settings.c
parentAdd librecrypt_is_enabled (diff)
downloadlibrecrypt-3454e0328d57f57852bf12d698b6b4a4736d0719.tar.gz
librecrypt-3454e0328d57f57852bf12d698b6b4a4736d0719.tar.bz2
librecrypt-3454e0328d57f57852bf12d698b6b4a4736d0719.tar.xz
Prepare for supporting custom algorithms
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--librecrypt_make_settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/librecrypt_make_settings.c b/librecrypt_make_settings.c
index dc068e7..b883e4f 100644
--- a/librecrypt_make_settings.c
+++ b/librecrypt_make_settings.c
@@ -7,7 +7,7 @@ ssize_t
librecrypt_make_settings(char *out_buffer, size_t size, const char *algorithm, size_t memcost, uintmax_t timecost,
int gensalt, ssize_t (*rng)(void *out, size_t n, void *user), void *user, void *reserved)
{
- const struct algorithm *algo;
+ const struct librecrypt_algorithm *algo;
/* Ensure the reserved parameter is NULL */
if (reserved != NULL) {