.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gnutls_ocsp_status_request_is_checked" 3 "3.3.8" "gnutls" "gnutls" .SH NAME gnutls_ocsp_status_request_is_checked \- API function .SH SYNOPSIS .B #include .sp .BI "int gnutls_ocsp_status_request_is_checked(gnutls_session_t " session ", unsigned int " flags ");" .SH ARGUMENTS .IP "gnutls_session_t session" 12 is a gnutls session .IP "unsigned int flags" 12 should be zero .SH "DESCRIPTION" Check whether an OCSP status response was included in the handshake and whether it was checked and valid (not too old or superseded). This is a helper function when needing to decide whether to perform an OCSP validity check on the peer's certificate. Must be called after \fBgnutls_certificate_verify_peers3()\fP is called. .SH "RETURNS" non zero it was valid, or a zero if it wasn't sent, or sent and was invalid. .SH "REPORTING BUGS" Report bugs to . .br Home page: http://www.gnutls.org .SH COPYRIGHT Copyright \(co 2001-2014 Free Software Foundation, Inc.. .br Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. .SH "SEE ALSO" The full documentation for .B gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit .B .IP http://www.gnutls.org/manual/ .PP