diff --git a/src/smtp.nim b/src/smtp.nim index ca288b9..d384a3b 100644 --- a/src/smtp.nim +++ b/src/smtp.nim @@ -114,7 +114,7 @@ proc quitExcpt(smtp: Smtp, msg: string) = smtp.debugSend("QUIT") raise newException(ReplyError, msg) -const compiledWithSsl = defined(ssl) +const compiledWithSsl = true when not defined(ssl): let defaultSSLContext: SslContext = nil