mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-20 10:37:24 -07:00
14 lines
271 B
C
14 lines
271 B
C
#include <stdio.h>
|
|
|
|
#define TEST_NAME "sodium_version"
|
|
#include "cmptest.h"
|
|
|
|
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);
|
|
|
|
return 0;
|
|
}
|