mirror of
https://github.com/libtom/libtomcrypt
synced 2026-08-25 20:26:07 -04:00
It's a compile-only test, but we run it anyways so we can finally get `crypt_fsa()` included in the coverage report. It's not really useful but also doesn't hurt. Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
12 lines
341 B
C
12 lines
341 B
C
/* LibTomCrypt, modular cryptographic library -- Tom St Denis */
|
|
/* SPDX-License-Identifier: Unlicense */
|
|
|
|
#define LTC_NO_NULL_TERMINATION_CHECK
|
|
#include "tomcrypt.h"
|
|
|
|
#define NNTCT_NULL ((void *)0)
|
|
|
|
int no_null_termination_check_test(void)
|
|
{
|
|
return crypt_fsa(NNTCT_NULL, NNTCT_NULL, NNTCT_NULL, NNTCT_NULL, NNTCT_NULL, NNTCT_NULL, 0);
|
|
}
|