Home
last modified time | relevance | path

Searched refs:x509_cred (Results 1 – 1 of 1) sorted by relevance

/external/qemu/
Dvnc.c1625 gnutls_certificate_credentials_t x509_cred; in vnc_tls_initialize_x509_cred() local
1641 if ((ret = gnutls_certificate_allocate_credentials(&x509_cred)) < 0) { in vnc_tls_initialize_x509_cred()
1645 if ((ret = gnutls_certificate_set_x509_trust_file(x509_cred, in vnc_tls_initialize_x509_cred()
1649 gnutls_certificate_free_credentials(x509_cred); in vnc_tls_initialize_x509_cred()
1653 if ((ret = gnutls_certificate_set_x509_key_file (x509_cred, in vnc_tls_initialize_x509_cred()
1658 gnutls_certificate_free_credentials(x509_cred); in vnc_tls_initialize_x509_cred()
1663 if ((ret = gnutls_certificate_set_x509_crl_file(x509_cred, in vnc_tls_initialize_x509_cred()
1667 gnutls_certificate_free_credentials(x509_cred); in vnc_tls_initialize_x509_cred()
1672 gnutls_certificate_set_dh_params (x509_cred, dh_params); in vnc_tls_initialize_x509_cred()
1674 return x509_cred; in vnc_tls_initialize_x509_cred()
[all …]