aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_find_first_algorithm_.c
diff options
context:
space:
mode:
Diffstat (limited to 'librecrypt_find_first_algorithm_.c')
-rw-r--r--librecrypt_find_first_algorithm_.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/librecrypt_find_first_algorithm_.c b/librecrypt_find_first_algorithm_.c
index 6bbfe70..2a33b5e 100644
--- a/librecrypt_find_first_algorithm_.c
+++ b/librecrypt_find_first_algorithm_.c
@@ -3,11 +3,11 @@
#ifndef TEST
-const struct algorithm *
+const struct librecrypt_algorithm *
librecrypt_find_first_algorithm_(const char *settings, size_t len)
{
unsigned r, priority = 0;
- const struct algorithm *algo, *found = NULL;
+ const struct librecrypt_algorithm *algo, *found = NULL;
size_t i;
for (i = 0u;; i++) {
@@ -55,7 +55,7 @@ librecrypt_find_first_algorithm_(const char *settings, size_t len)
int
main(void)
{
- const struct algorithm *algo;
+ const struct librecrypt_algorithm *algo;
SET_UP_ALARM();
INIT_RESOURCE_TEST();