OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:x509_cred
(Results
1 - 2
of
2
) sorted by null
/external/libvncserver/libvncclient/
tls_gnutls.c
286
gnutls_certificate_credentials_t
x509_cred
;
local
295
if ((ret = gnutls_certificate_allocate_credentials(&
x509_cred
)) < 0)
300
if ((ret = gnutls_certificate_set_x509_trust_file(
x509_cred
,
304
gnutls_certificate_free_credentials (
x509_cred
);
309
if ((ret = gnutls_certificate_set_x509_key_file(
x509_cred
,
314
gnutls_certificate_free_credentials (
x509_cred
);
323
if ((ret = gnutls_certificate_set_x509_crl_file(
x509_cred
,
327
gnutls_certificate_free_credentials (
x509_cred
);
334
gnutls_certificate_set_dh_params (
x509_cred
, rfbDHParams);
335
return
x509_cred
;
357
gnutls_certificate_credentials_t
x509_cred
= NULL;
local
[
all
...]
/external/libvncserver/libvncserver/
rfbssl_gnutls.c
33
gnutls_certificate_credentials_t
x509_cred
;
member in struct:rfbssl_ctx
59
} else if (!GNUTLS_E_SUCCESS == (ret = gnutls_credentials_set(session, GNUTLS_CRD_CERTIFICATE, ctx->
x509_cred
))) {
96
} else if (!GNUTLS_E_SUCCESS == (ret = gnutls_certificate_allocate_credentials(&ctx->
x509_cred
))) {
98
} else if ((ret = gnutls_certificate_set_x509_trust_file(ctx->
x509_cred
, cert, GNUTLS_X509_FMT_PEM)) < 0) {
100
} else if (!GNUTLS_E_SUCCESS == (ret = gnutls_certificate_set_x509_key_file(ctx->
x509_cred
, cert, key, GNUTLS_X509_FMT_PEM))) {
111
gnutls_certificate_set_dh_params(ctx->
x509_cred
, ctx->dh_params);
267
gnutls_certificate_free_credentials(ctx->
x509_cred
);
Completed in 75 milliseconds