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;