On Fri, Mar 27, 2015 at 1:16 AM, [email protected] <[email protected]> wrote: > Hello, > What would be the most practical way to add some code to a > FIPS-mode GnuTLS in order to notify the OS of any FIPS error ? That > notification could simply be creating a file at a location that is > watched over by an application using inotify. The idea is to be able > to take any action when such errors happen and, not to modify > applications that are using GnuTLS since this would require more code > maintenance.
Check fips.h and _gnutls_switch_lib_state(). This is the function called when the library enters an error state. regards, Nikos _______________________________________________ Gnutls-help mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnutls-help
