diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2008-11-13 23:24:20 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2008-11-13 23:24:20 +0000 |
commit | f4b3f944ee59f38d458c3e02da1cb27dbbc32416 (patch) | |
tree | dae4e72333a71710ca17b42bb3d5f269d0635a8c /usr.sbin/smtpd/parse.y | |
parent | 18853f0161ede0f827c86fb21bd8423ca0887aa9 (diff) |
- rephrase the "cannot load cert" warning that is output at startup when a
listen directive has no matching certificate. it sounds like a
critical failure when it just means "no tls support".
- minor log_debug() addition in smtp.c
Diffstat (limited to 'usr.sbin/smtpd/parse.y')
-rw-r--r-- | usr.sbin/smtpd/parse.y | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/parse.y b/usr.sbin/smtpd/parse.y index ab0deccb8c9..38f220a2b0e 100644 --- a/usr.sbin/smtpd/parse.y +++ b/usr.sbin/smtpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.8 2008/11/10 22:35:23 gilles Exp $ */ +/* $OpenBSD: parse.y,v 1.9 2008/11/13 23:24:19 gilles Exp $ */ /* * Copyright (c) 2008 Gilles Chehade <gilles@openbsd.org> @@ -238,7 +238,8 @@ main : QUEUE INTERVAL interval { flags = 0; if (ssl_load_certfile(conf, cert) < 0) { - log_warnx("could not load cert: %s", cert); + log_warnx("warning: could not load cert: %s," + "no SSL/TLS support", cert); if ($1 || $6 != NULL) { yyerror("cannot load certificate: %s", cert); |