# HG changeset patch # User Timo Sirainen # Date 1030396917 -10800 # Node ID 2a56fca685a201e37ed423269c534a22512d9f0b # Parent 8b4c5ea7e6da4649d8c56880482c62a3d27f1ef4 removed warnings when SSL support is disabled. diff -r 8b4c5ea7e6da -r 2a56fca685a2 src/login/ssl-proxy.c --- a/src/login/ssl-proxy.c Tue Aug 27 00:20:19 2002 +0300 +++ b/src/login/ssl-proxy.c Tue Aug 27 00:21:57 2002 +0300 @@ -296,12 +296,8 @@ certfile = getenv("SSL_CERT_FILE"); keyfile = getenv("SSL_KEY_FILE"); - if (certfile == NULL) { - i_warning("SSL certification not set, SSL/TLS is disabled"); - return; - } - if (keyfile == NULL) { - i_warning("SSL private key not set, SSL/TLS is disabled"); + if (certfile == NULL || keyfile == NULL) { + /* SSL support is disabled */ return; }