aboutsummaryrefslogtreecommitdiffstats
path: root/libar2_decode_params.c
diff options
context:
space:
mode:
Diffstat (limited to 'libar2_decode_params.c')
-rw-r--r--libar2_decode_params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libar2_decode_params.c b/libar2_decode_params.c
index cc90c24..fa59ab2 100644
--- a/libar2_decode_params.c
+++ b/libar2_decode_params.c
@@ -65,7 +65,7 @@ libar2_decode_params(const char *str, struct libar2_argon2_parameters *params, c
if (*str++ != '$')
goto einval;
} else {
- params->version = LIBAR2_ARGON2_VERSION_10;
+ params->version = 0; /* implicit LIBAR2_ARGON2_VERSION_10 */
}
while (*str && *str != '$') {