Skip HKDF test on minimal builds

This commit is contained in:
Frank Denis
2020-03-31 17:26:17 +02:00
parent d9844396e3
commit 35206861b5
+5
View File
@@ -62,6 +62,7 @@ tv_kdf(void)
printf("tv_kdf: ok\n");
}
#ifndef SODIUM_LIBRARY_MINIMAL
static void
tv_kdf_hkdf(void)
{
@@ -150,12 +151,16 @@ tv_kdf_hkdf(void)
printf("tv_kdf_hkdf: ok\n");
}
#endif
int
main(void)
{
tv_kdf();
#ifndef SODIUM_LIBRARY_MINIMAL
tv_kdf_hkdf();
#endif
return 0;
}