changeset 38:2a56fca685a2 HEAD

removed warnings when SSL support is disabled.
author Timo Sirainen <tss@iki.fi>
date Tue, 27 Aug 2002 00:21:57 +0300
parents 8b4c5ea7e6da
children 0757e34063ec
files src/login/ssl-proxy.c
diffstat 1 files changed, 2 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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;
 	}