From a2b12dfcc083a7c326200e5416d3930b3109ebee Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 10 Nov 2023 11:30:47 +0100 Subject: [PATCH] Include argon2id in crypto_pwhash_primitive() Fixes #1331 --- src/libsodium/include/sodium/crypto_pwhash.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsodium/include/sodium/crypto_pwhash.h b/src/libsodium/include/sodium/crypto_pwhash.h index 307265d340..85a1be3393 100644 --- a/src/libsodium/include/sodium/crypto_pwhash.h +++ b/src/libsodium/include/sodium/crypto_pwhash.h @@ -135,7 +135,7 @@ int crypto_pwhash_str_needs_rehash(const char *str, unsigned long long opslimit, size_t memlimit) __attribute__ ((warn_unused_result)) __attribute__ ((nonnull)); -#define crypto_pwhash_PRIMITIVE "argon2i" +#define crypto_pwhash_PRIMITIVE "argon2id,argon2i" SODIUM_EXPORT const char *crypto_pwhash_primitive(void) __attribute__ ((warn_unused_result));