X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fhtparser.c;h=5491855c4df055777bbf45a0447155a1c6a49ce5;hb=3c5954e94a1b6a035e8afcaa7e8eeec76c817eba;hp=e281abd85701d9b11bea7e9aa7bd9323b6b0d2ff;hpb=faf1865c06283ae3f12a42d013aa75107a409d55;p=ashd.git diff --git a/src/htparser.c b/src/htparser.c index e281abd..5491855 100644 --- a/src/htparser.c +++ b/src/htparser.c @@ -580,9 +580,12 @@ 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 +#if defined HAVE_GNUTLS } else if(!strcmp(nm, "ssl")) { handlegnussl(pars.d, pars.b, vals.b); +#elif defined HAVE_OPENSSL + } else if(!strcmp(nm, "ssl")) { + handleossl(pars.d, pars.b, vals.b); #endif } else { flog(LOG_ERR, "htparser: unknown port handler `%s'", nm);