keyfile: call correct scheme function when writing certificates (bgo #662836)

This commit is contained in:
Florian Echtler 2011-11-01 16:32:51 +01:00 committed by Jiří Klimeš
parent 4d1d3b9935
commit 2938243e25

View file

@ -679,7 +679,7 @@ cert_writer (GKeyFile *file,
}
g_return_if_fail (objtype != NULL);
scheme = objtypes->scheme_func (NM_SETTING_802_1X (setting));
scheme = objtype->scheme_func (NM_SETTING_802_1X (setting));
if (scheme == NM_SETTING_802_1X_CK_SCHEME_PATH) {
path = objtype->path_func (NM_SETTING_802_1X (setting));
g_assert (path);