GUACAMOLE-514: Remove CRL check flag.

This commit is contained in:
Nick Couchman 2019-08-02 23:29:03 -04:00
parent 90d55956d0
commit 4329739d3e

View File

@ -45,13 +45,7 @@ rfbCredential* guac_vnc_get_credentials(rfbClient* client, int credentialType) {
creds->x509Credential.x509ClientCertFile = ((guac_vnc_client*) gc->data)->settings->client_cert; creds->x509Credential.x509ClientCertFile = ((guac_vnc_client*) gc->data)->settings->client_cert;
creds->x509Credential.x509ClientKeyFile = ((guac_vnc_client*) gc->data)->settings->client_key; creds->x509Credential.x509ClientKeyFile = ((guac_vnc_client*) gc->data)->settings->client_key;
creds->x509Credential.x509CACertFile = ((guac_vnc_client*) gc->data)->settings->ca_cert; creds->x509Credential.x509CACertFile = ((guac_vnc_client*) gc->data)->settings->ca_cert;
creds->x509Credential.x509CACRLFile = ((guac_vnc_client*) gc->data)->settings->ca_crl; creds->x509Credential.x509CACrlFile = ((guac_vnc_client*) gc->data)->settings->ca_crl;
if (creds->x509Credential.x509CACRLFile != NULL)
creds->x509Credential.x509CrlVerifyMode = 2;
else
creds->x509Credential.x509CrlVerifyMode = 0;
return creds; return creds;
} }