gnutls_pkcs11_reinit3
Api function
Usage
#include <gnutls/pkcs11.h>
int gnutls_pkcs11_reinit( void);
Arguments
- void
Overview
This function will reinitialize the PKCS 11 subsystem in gnutls. This is required by PKCS 11 when an application uses fork(). The reinitialization function must be called on the child.
Note that since GnuTLS 3.3.0, the reinitialization of the PKCS 11 subsystem occurs automatically after fork.
Returns
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value.
Since
3.0
Releases
7 releases since Debian 8 (Jessie); the text changed 6 times.