From c746eb27761df89ba298ad0ae7ec0ea1a8d4feb7 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 15 Jul 2017 17:59:55 +0200 Subject: [PATCH] Revert "Bail out if SIZE_MAX < crypto_pwhash_MEMLIMIT_MAX" This reverts commit c2ef7d0882a1c08c130e57efd83558fe213879d0. --- src/libsodium/crypto_pwhash/crypto_pwhash.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/libsodium/crypto_pwhash/crypto_pwhash.c b/src/libsodium/crypto_pwhash/crypto_pwhash.c index 6e621d7b..b6c16c81 100644 --- a/src/libsodium/crypto_pwhash/crypto_pwhash.c +++ b/src/libsodium/crypto_pwhash/crypto_pwhash.c @@ -5,10 +5,6 @@ #include "crypto_pwhash.h" -#if SIZE_MAX < crypto_pwhash_MEMLIMIT_MAX -# error Password hashing functions cannot be used on this platform -#endif - int crypto_pwhash_alg_argon2i13(void) {