[gnutls-devel] GnuTLS | fips: plumb service indicator to public key algorithms (d66b7132)
Read-only notification of GnuTLS library development activities
gnutls-devel at lists.gnutls.org
Wed Nov 17 13:52:09 CET 2021
Daiki Ueno commented on a discussion on lib/fips.c: https://gitlab.com/gnutls/gnutls/-/commit/d66b713242ed5577f978e3c86c989142a817caa4#note_735693943
> +
> +void
> +_gnutls_fips_set_operation_state(gnutls_fips140_operation_state_t state)
> +{
> +#ifdef ENABLE_FIPS140
> + if (!_tfips_context) {
> + _gnutls_debug_log("FIPS140-2 context is not set\n");
> + return;
> + }
> +
> + switch (_tfips_context->state) {
> + case GNUTLS_FIPS140_OPERATION_STATE_INITIAL:
> + _tfips_context->state = state;
> + _gnutls_debug_log("FIPS140-2 operation mode switched from %s to %s\n",
> + operation_state_to_string(_tfips_context->state),
> + operation_state_to_string(state));
Good catch, thanks!
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/commit/d66b713242ed5577f978e3c86c989142a817caa4#note_735693943
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20211117/5291f47a/attachment.html>
More information about the Gnutls-devel
mailing list