diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2015-07-28 13:26:16 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2015-07-28 13:43:59 +0200 |
commit | d595c1bbda41874407049840dae3f5e937e5115c (patch) | |
tree | ea7e6fb88a5e605212dc2130f1f72a98f58a42fa | |
parent | 37ca53fcf9b8f454f85b69ed3c93a72399d1eff1 (diff) |
proxy: Don't set RestProxy::ssl-ca-file from ssl_ca_file_changed()ca-cert
The only purpose of our notify::ssl-ca-file handler is to cleanup the
temporary file we created when the ssl-ca-file is set externally. Now
that we have a separate ovirt_proxy_free_tmp_ca_file(), we can call that
rather than relying on ovirt_proxy_set_tmp_ca_file(proxy, NULL); to
achieve that.
-rw-r--r-- | govirt/ovirt-proxy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/govirt/ovirt-proxy.c b/govirt/ovirt-proxy.c index 83a6a36..b675b64 100644 --- a/govirt/ovirt-proxy.c +++ b/govirt/ovirt-proxy.c @@ -914,7 +914,7 @@ static void ssl_ca_file_changed(GObject *gobject, proxy->priv->setting_ca_file = FALSE; return; } - ovirt_proxy_set_tmp_ca_file(OVIRT_PROXY(gobject), NULL); + ovirt_proxy_free_tmp_ca_file(OVIRT_PROXY(gobject)); } static void |