aboutsummaryrefslogtreecommitdiffstats
path: root/librecrypt_equal.c
diff options
context:
space:
mode:
Diffstat (limited to 'librecrypt_equal.c')
-rw-r--r--librecrypt_equal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/librecrypt_equal.c b/librecrypt_equal.c
index 22e2c05..bb3edc6 100644
--- a/librecrypt_equal.c
+++ b/librecrypt_equal.c
@@ -13,6 +13,8 @@ int
main(void)
{
SET_UP_ALARM();
+ INIT_RESOURCE_TEST();
+
EXPECT(librecrypt_equal("", "") == 1);
EXPECT(librecrypt_equal("", "a") == 0);
EXPECT(librecrypt_equal("a", "") == 0);
@@ -32,6 +34,8 @@ main(void)
EXPECT(librecrypt_equal("abcdefg", "abcdef") == 0);
EXPECT(librecrypt_equal("abcdef", "") == 0);
EXPECT(librecrypt_equal("", "abcdef") == 0);
+
+ STOP_RESOURCE_TEST();
return 0;
}