search for: netssl_certreq_request

Displaying 1 result from an estimated 1 matches for "netssl_certreq_request".

2011 Jan 07
2
[nut-commits] svn commit r2804 - in branches/ssl-nss-port: clients server
...7:55 2011 (r2804) > @@ -178,6 +178,22 @@ > return 1; > } > > + /* CERTREQUEST ("NO" | "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 ac...