summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2018-12-20 19:40:14 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2018-12-20 19:40:14 +0000
commit3d4918291785756eae7009031bb5ed4b2d49f63f (patch)
treeb749c47029e9e7fd150f5095ccf55b4d551cb194 /usr.sbin
parent916b135e51c994298e5f1941537998b4c458ffb6 (diff)
change the format of ssl_to_text() to match that of io's, this only affect
smtp and mta "tls" log lines and tls event reporting
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/smtpd/ssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/ssl.c b/usr.sbin/smtpd/ssl.c
index cd29f5cf4e0..7cbee5637f1 100644
--- a/usr.sbin/smtpd/ssl.c
+++ b/usr.sbin/smtpd/ssl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl.c,v 1.89 2017/05/17 14:00:06 deraadt Exp $ */
+/* $OpenBSD: ssl.c,v 1.90 2018/12/20 19:40:13 gilles Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -328,7 +328,7 @@ ssl_to_text(const SSL *ssl)
{
static char buf[256];
- (void)snprintf(buf, sizeof buf, "version=%s, cipher=%s, bits=%d",
+ (void)snprintf(buf, sizeof buf, "%s:%s:%d",
SSL_get_version(ssl),
SSL_get_cipher_name(ssl),
SSL_get_cipher_bits(ssl, NULL));