From 9383d59e2181b93be6801303a17a74c5361c2aa0 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 8 May 2014 21:32:36 -0700 Subject: [PATCH] It's totally fine for sodium_library_version_minor() to be 0. --- test/default/sodium_version.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/default/sodium_version.c b/test/default/sodium_version.c index aff06276..0b63d38e 100644 --- a/test/default/sodium_version.c +++ b/test/default/sodium_version.c @@ -7,7 +7,7 @@ int main(void) { printf ("%d\n", sodium_version_string() != NULL); printf ("%d\n", sodium_library_version_major() > 0); - printf ("%d\n", sodium_library_version_minor() > 0); + printf ("%d\n", sodium_library_version_minor() >= 0); return 0; }