From 01fdef77e6acb96e8eba67e3038fee7eae765e4b Mon Sep 17 00:00:00 2001 From: Aaron Jones Date: Sat, 14 May 2016 00:27:27 +0000 Subject: [PATCH] starttls: Allow command usage with backends other than OpenSSL --- modules/m_starttls.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/m_starttls.c b/modules/m_starttls.c index 92631908..b8a75d12 100644 --- a/modules/m_starttls.c +++ b/modules/m_starttls.c @@ -46,7 +46,6 @@ DECLARE_MODULE_AV1(starttls, NULL, NULL, starttls_clist, NULL, NULL, "$Revision$ static int mr_starttls(struct Client *client_p, struct Client *source_p, int parc, const char *parv[]) { -#ifdef HAVE_LIBCRYPTO ssl_ctl_t *ctl; rb_fde_t *F[2]; @@ -90,8 +89,5 @@ mr_starttls(struct Client *client_p, struct Client *source_p, int parc, const ch else return 1; -#else - sendto_one_numeric(client_p, ERR_STARTTLS, form_str(ERR_STARTTLS), "TLS is not configured"); -#endif return 0; }