From 29fb06cd2339b5039c2aba5e4fdf7ed4ae7b409d Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 30 Dec 2015 11:59:15 +0100 Subject: [PATCH] Check for crypto_pwhash_*limit_moderate() presence --- test/default/pwhash_argon2i.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/default/pwhash_argon2i.c b/test/default/pwhash_argon2i.c index 7ef47ded..21298af3 100644 --- a/test/default/pwhash_argon2i.c +++ b/test/default/pwhash_argon2i.c @@ -206,6 +206,8 @@ int main(void) assert(crypto_pwhash_strbytes() > strlen(crypto_pwhash_strprefix())); assert(crypto_pwhash_opslimit_interactive() > 0U); assert(crypto_pwhash_memlimit_interactive() > 0U); + assert(crypto_pwhash_opslimit_moderate() > 0U); + assert(crypto_pwhash_memlimit_moderate() > 0U); assert(crypto_pwhash_opslimit_sensitive() > 0U); assert(crypto_pwhash_memlimit_sensitive() > 0U);