summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2011-05-21 17:01:59 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2011-05-21 17:01:59 +0000
commit58c6ee7375353535fc6b5a67578cadddbcb551d7 (patch)
tree330b91dd10d05c61e2039105c216fbe098ba2288
parenta8e1395ba0d83eeecedeb4098f2f16fb117432f4 (diff)
make the "no DH parameters" warning a log_info()
-rw-r--r--usr.sbin/smtpd/ssl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/ssl.c b/usr.sbin/smtpd/ssl.c
index 953287ceec3..8ba2f68c6cd 100644
--- a/usr.sbin/smtpd/ssl.c
+++ b/usr.sbin/smtpd/ssl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl.c,v 1.35 2011/05/17 16:32:58 gilles Exp $ */
+/* $OpenBSD: ssl.c,v 1.36 2011/05/21 17:01:58 gilles Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -391,8 +391,8 @@ ssl_load_certfile(const char *name, u_int8_t flags)
if ((s->ssl_dhparams = ssl_load_file(certfile,
&s->ssl_dhparams_len)) == NULL) {
- log_warnx("no DH parameters found in %s", certfile);
- log_warnx("using built-in DH parameters");
+ log_info("no DH parameters found in %s", certfile);
+ log_info("using built-in DH parameters");
}
SPLAY_INSERT(ssltree, env->sc_ssl, s);