Fix CVE-2017-6891 in minitasn1 code
[platform/upstream/gnutls.git] / doc / functions / gnutls_pkcs11_reinit
1
2
3
4
5 @deftypefun {int} {gnutls_pkcs11_reinit} ( @var{void})
6
7 This function will reinitialize the PKCS 11 subsystem in gnutls. 
8 This is required by PKCS 11 when an application uses @code{fork()} . The
9 reinitialization function must be called on the child.
10
11 Note that since GnuTLS 3.3.0, the reinitialization of the PKCS @code{11} 
12 subsystem occurs automatically after fork.
13
14 @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
15 negative error value.
16
17 @strong{Since:} 3.0
18 @end deftypefun