ifcfg-rh: don't ignore certificates with unknown scheme

This commit is contained in:
Lubomir Rintel 2017-01-10 20:17:16 +00:00
parent 33c3ed8991
commit 30db08d38e

View file

@ -249,7 +249,9 @@ write_object (NMSetting8021x *s_8021x,
path = (*(objtype->path_func))(s_8021x);
break;
default:
break;
g_set_error (error, NM_SETTINGS_ERROR, NM_SETTINGS_ERROR_FAILED,
"Unhandled certificate object scheme");
return FALSE;
}
/* If certificate/private key wasn't sent, the connection may no longer be