aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libar2.h2
-rw-r--r--libar2_latest_argon2_version.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libar2.h b/libar2.h
index 2628217..dc0e3f3 100644
--- a/libar2.h
+++ b/libar2.h
@@ -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;