Lines Matching refs:cred
274 FreeX509Credential(rfbCredential *cred) in FreeX509Credential() argument
276 if (cred->x509Credential.x509CACertFile) free(cred->x509Credential.x509CACertFile); in FreeX509Credential()
277 if (cred->x509Credential.x509CACrlFile) free(cred->x509Credential.x509CACrlFile); in FreeX509Credential()
278 if (cred->x509Credential.x509ClientCertFile) free(cred->x509Credential.x509ClientCertFile); in FreeX509Credential()
279 if (cred->x509Credential.x509ClientKeyFile) free(cred->x509Credential.x509ClientKeyFile); in FreeX509Credential()
280 free(cred); in FreeX509Credential()
284 CreateX509CertCredential(rfbCredential *cred) in CreateX509CertCredential() argument
289 if (!cred->x509Credential.x509CACertFile) in CreateX509CertCredential()
301 cred->x509Credential.x509CACertFile, GNUTLS_X509_FMT_PEM)) < 0) in CreateX509CertCredential()
307 if (cred->x509Credential.x509ClientCertFile && cred->x509Credential.x509ClientKeyFile) in CreateX509CertCredential()
310 cred->x509Credential.x509ClientCertFile, cred->x509Credential.x509ClientKeyFile, in CreateX509CertCredential()
321 if (cred->x509Credential.x509CACrlFile) in CreateX509CertCredential()
324 cred->x509Credential.x509CACrlFile, GNUTLS_X509_FMT_PEM)) < 0) in CreateX509CertCredential()
413 rfbCredential *cred; in HandleVeNCryptAuth() local
420 cred = client->GetCredential(client, rfbCredentialTypeX509); in HandleVeNCryptAuth()
421 if (!cred) in HandleVeNCryptAuth()
427 x509_cred = CreateX509CertCredential(cred); in HandleVeNCryptAuth()
428 FreeX509Credential(cred); in HandleVeNCryptAuth()