Lines Matching defs:session
113 { {"1", "audit"}, LOG_WARNING, true}, /* gnutls session audit */
184 static int verify_cert_authorized(gnutls_session_t session) {
190 r = gnutls_certificate_verify_peers2(session, &status);
194 type = gnutls_certificate_type_get(session);
205 static int get_client_cert(gnutls_session_t session, gnutls_x509_crt_t *client_cert) {
211 assert(session);
214 pcert = gnutls_certificate_get_peers(session, &listsize);
266 gnutls_session_t session;
279 log_error("MHD_get_connection_info failed: session is unencrypted");
284 session = ci->tls_session;
285 assert(session);
287 r = get_client_cert(session, &client_cert);
308 r = verify_cert_authorized(session);