X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fhtparser.c;h=d10121cd6a2bb0e6af60a3b36e032ab468b9b002;hb=HEAD;hp=e281abd85701d9b11bea7e9aa7bd9323b6b0d2ff;hpb=a1a3489bbae23eb6927e7ae9d0d77326b4fde78e;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);