aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_hash_.c
diff options
context:
space:
mode:
Diffstat (limited to 'librecrypt_hash_.c')
-rw-r--r--librecrypt_hash_.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/librecrypt_hash_.c b/librecrypt_hash_.c
index 538dc8a..71ec98d 100644
--- a/librecrypt_hash_.c
+++ b/librecrypt_hash_.c
@@ -491,7 +491,7 @@ start_over:
EXPECT(librecrypt_hash_(NULL, 0u, NULL, 0u, "$~no~such~algorithm~$*100$", ctx, ASCII_CRYPT) == -1);
EXPECT(errno == ENOSYS);
-#if defined(SUPPORT_ARGON2ID)
+#if defined(SUPPORT_ARGON2ID) && defined(SUPPORT_ARGON2_V1_3)
# define ARGON2ID_PREFIX "$argon2id$v=19$m=8,t=1,p=1$"
# define ARGON2ID_STR ARGON2ID_PREFIX SALT"$*32"