Bail out if SIZE_MAX < crypto_pwhash_MEMLIMIT_MAX
This commit is contained in:
parent
7d5d9204e5
commit
c2ef7d0882
@ -4,6 +4,10 @@
|
||||
|
||||
#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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user