Searched refs:client_cert (Results 1 – 1 of 1) sorted by relevance
191 static int get_client_cert(gnutls_session_t session, gnutls_x509_crt_t *client_cert) { in get_client_cert() argument198 assert(client_cert); in get_client_cert()220 *client_cert = cert; in get_client_cert()224 static int get_auth_dn(gnutls_x509_crt_t client_cert, char **buf) { in get_auth_dn() argument231 r = gnutls_x509_crt_get_dn(client_cert, NULL, &len); in get_auth_dn()241 gnutls_x509_crt_get_dn(client_cert, *buf, &len); in get_auth_dn()252 _cleanup_(gnutls_x509_crt_deinitp) gnutls_x509_crt_t client_cert = NULL; in check_permissions()272 r = get_client_cert(session, &client_cert); in check_permissions()279 r = get_auth_dn(client_cert, &buf); in check_permissions()