[mod_openssl] error out on unknown parameters

personal/stbuehler/wip
Stefan Bühler 9 years ago
parent dc2f0b7885
commit 919a8dd6d2
  1. 2
      src/modules/mod_gnutls.c
  2. 4
      src/modules/mod_openssl.c

@ -731,7 +731,7 @@ static gboolean gnutls_setup(liServer *srv, liPlugin* p, liValue *val, gpointer
return FALSE;
#endif
} else {
ERROR(srv, "invalid option for mod_gnutls: %s", entryKeyStr->str);
ERROR(srv, "invalid parameter for gnutls: %s", entryKeyStr->str);
return FALSE;
}
}

@ -677,6 +677,10 @@ static gboolean openssl_setup(liServer *srv, liPlugin* p, liValue *val, gpointer
return FALSE;
}
client_ca_file = entryValue->data.string->str;
} else {
ERROR(srv, "invalid parameter for openssl: %s", entryKeyStr->str);
return FALSE;
}
}

Loading…
Cancel
Save