summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgilles <gilles@openbsd.org>2018-12-20 19:40:13 +0000
committergilles <gilles@openbsd.org>2018-12-20 19:40:13 +0000
commitdee23a187af2199287d91e6fd48ab4554bb1ab07 (patch)
treece10e47765b7654c642ce3d6ea3403d34cc5467a
parentsync (diff)
downloadwireguard-openbsd-dee23a187af2199287d91e6fd48ab4554bb1ab07.tar.xz
wireguard-openbsd-dee23a187af2199287d91e6fd48ab4554bb1ab07.zip
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
-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));