From 386429e46ea177d0f466e52989a2ca7e7dbf4049 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Fri, 12 Mar 2021 17:30:17 -0500 Subject: [PATCH] fix(core): fix compilation warning in NSData+Crypto --- SoObjects/SOGo/NSData+Crypto.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SoObjects/SOGo/NSData+Crypto.h b/SoObjects/SOGo/NSData+Crypto.h index 06caeb055..adb79e6af 100644 --- a/SoObjects/SOGo/NSData+Crypto.h +++ b/SoObjects/SOGo/NSData+Crypto.h @@ -60,7 +60,9 @@ - (NSData *) asBlowfishCryptUsingSalt: (NSData *) theSalt; #ifdef HAVE_SODIUM - (NSData *) asArgon2iUsingSalt: (NSData *) theSalt; +# ifdef crypto_pwhash_ALG_ARGON2ID13 - (NSData *) asArgon2idUsingSalt: (NSData *) theSalt; +#endif /* crypto_pwhash_ALG_ARGON2ID13 */ #endif /* HAVE_SODIUM */ - (NSData *) extractSalt: (NSString *) theScheme;