summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_ocsp_req_randomize_nonce
blob: dbeaf6ca5bcf8304b776342fb70cc65f711277d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
@deftypefun {int} {gnutls_ocsp_req_randomize_nonce} (gnutls_ocsp_req_t @var{req})
@var{req}: should contain a @code{gnutls_ocsp_req_t}  type

This function will add or update an nonce extension to the OCSP
request with a newly generated random value.

@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
negative error code is returned.
@end deftypefun