diff --git a/src/remote/remote_driver.c b/src/remote/remote_driver.c index 4817686590c4aeb946b959e218f475ef9689368c..8e3cd89bf22eb5eea4954333fc4252ef3abe3891 100644 --- a/src/remote/remote_driver.c +++ b/src/remote/remote_driver.c @@ -1293,11 +1293,6 @@ negotiate_gnutls_on_connection (virConnectPtr conn, struct private_data *priv, int no_verify) { - const int cert_type_priority[3] = { - GNUTLS_CRT_X509, - GNUTLS_CRT_OPENPGP, - 0 - }; bool success = false; int err; gnutls_session_t session; @@ -1320,15 +1315,6 @@ negotiate_gnutls_on_connection (virConnectPtr conn, gnutls_strerror (err)); goto cleanup; } - err = - gnutls_certificate_type_set_priority (session, - cert_type_priority); - if (err) { - remoteError(VIR_ERR_GNUTLS_ERROR, - _("unable to set certificate priority: %s"), - gnutls_strerror (err)); - goto cleanup; - } /* put the x509 credentials to the current session */