Displaying 1 result from an estimated 1 matches for "netssl_certreq_require".
2011 Jan 07
2
[nut-commits] svn commit r2804 - in branches/ssl-nss-port: clients server
...| "REQUEST" | "REQUIRE") */
> + if (!strcmp(arg[0], "CERTREQUEST")) {
> + if (strcasecmp(arg[1], "REQUEST") == 0) {
> + certrequest = NETSSL_CERTREQ_REQUEST;
> + } else if (strcasecmp(arg[1], "REQUIRE") == 0) {
> + certrequest = NETSSL_CERTREQ_REQUIRE;
> + } else if (strcasecmp(arg[1], "NO") == 0) {
> + certrequest = NETSSL_CERTREQ_NO;
> + } else {
> + upslogx(LOG_WARNING, "CERTREQUEST in upsd.conf accept only values "
> + "\"REQUEST\", \"REQUIRE\" or \"NO\", assuming...