diff --git a/openarc/openarc.c b/openarc/openarc.c index c4bdcdd..5880fe7 100644 --- a/openarc/openarc.c +++ b/openarc/openarc.c @@ -1468,7 +1468,10 @@ arcf_config_load(struct config *data, struct arcf_config *conf, conf->conf_signalg = ARC_SIGN_RSASHA256; } - if ((conf->conf_mode & ARC_MODE_SIGN)) + /* No explicit mode means we might need to sign, so these are + * still required. + */ + if ((!conf->conf_mode) || (conf->conf_mode & ARC_MODE_SIGN)) { if (config_get(data, "Domain", &conf->conf_domain,