It's totally fine for sodium_library_version_minor() to be 0.

This commit is contained in:
Frank Denis 2014-05-08 21:32:36 -07:00
parent b2cc7ff0b9
commit 9383d59e21

View File

@ -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;
}