X-Git-Url: http://www.dolda2000.com/gitweb/?p=ashd.git;a=blobdiff_plain;f=src%2Fhtparser.c;h=483554924a63a8ccdf2453bf9987a4f6a301a0e6;hp=3fcca75bea6a0175b55b56e3a9f63b0f4e7e6dcd;hb=6ca53b2e5e3b76345fd709a3e9d32aee69889054;hpb=41fe6c390c31ccb7f70d26a13418bd772fc7b5e4 diff --git a/src/htparser.c b/src/htparser.c index 3fcca75..4835549 100644 --- a/src/htparser.c +++ b/src/htparser.c @@ -353,7 +353,7 @@ static void usage(FILE *out) { fprintf(out, "usage: htparser [-hSf] [-u USER] [-r ROOT] PORTSPEC... -- ROOT [ARGS...]\n"); fprintf(out, "\twhere PORTSPEC is HANDLER[:PAR[=VAL][(,PAR[=VAL])...]] (try HANDLER:help)\n"); - fprintf(out, "\tavailable handlers are `plain'.\n"); + fprintf(out, "\tavailable handlers are `plain' and `ssl'.\n"); } static void addport(char *spec) @@ -388,6 +388,10 @@ static void addport(char *spec) /* XXX: It would be nice to decentralize this, but, meh... */ if(!strcmp(nm, "plain")) { handleplain(pars.d, pars.b, vals.b); +#ifdef HAVE_GNUTLS + } else if(!strcmp(nm, "ssl")) { + handlegnussl(pars.d, pars.b, vals.b); +#endif } else { flog(LOG_ERR, "htparser: unknown port handler `%s'", nm); exit(1);