diff options
Diffstat (limited to '')
-rw-r--r-- | libar2.h | 2 | ||||
-rw-r--r-- | libar2_latest_argon2_version.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -456,7 +456,7 @@ struct libar2_context { /** * The latest versions of Argon2 that is supported */ -extern enum libar2_argon2_version libar2_latest_argon2_version; +extern const enum libar2_argon2_version libar2_latest_argon2_version; /** diff --git a/libar2_latest_argon2_version.c b/libar2_latest_argon2_version.c index 043441d..14f8977 100644 --- a/libar2_latest_argon2_version.c +++ b/libar2_latest_argon2_version.c @@ -2,4 +2,4 @@ #include "common.h" -enum libar2_argon2_version libar2_latest_argon2_version = LIBAR2_ARGON2_VERSION_13; +const enum libar2_argon2_version libar2_latest_argon2_version = LIBAR2_ARGON2_VERSION_13; |