fips: Introduce an internal API for FIPS service indicator.
* configure.ac (HAVE_GCC_STORAGE_CLASS__THREAD): New. * src/fips.c (struct gcry_thread_context): New. (_gcry_thread_context_set_fsi, _gcry_thread_context_get_fsi): New. * src/gcrypt-int.h (fips_service_indicator_init): New macro. (fips_service_indicator_mark_success): New macro. * tests/Makefile.am (tests_bin): Add t-thread-local. * tests/t-thread-local.c: New.
- GnuPG-bug-id: T7340
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>