summaryrefslogtreecommitdiffstats
path: root/usr.sbin/smtpd/ssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/smtpd/ssl.c')
-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 31a9970da8c..f7559a5abab 100644
--- a/usr.sbin/smtpd/ssl.c
+++ b/usr.sbin/smtpd/ssl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl.c,v 1.54 2013/07/19 09:04:06 eric Exp $ */
+/* $OpenBSD: ssl.c,v 1.55 2013/10/26 12:27:59 eric Exp $ */
/*
* Copyright (c) 2008 Pierre-Yves Ritschard <pyr@openbsd.org>
@@ -309,7 +309,7 @@ ssl_to_text(const SSL *ssl)
{
static char buf[256];
- snprintf(buf, sizeof buf, "version=%s, cipher=%s, bits=%i",
+ snprintf(buf, sizeof buf, "version=%s, cipher=%s, bits=%d",
SSL_get_cipher_version(ssl),
SSL_get_cipher_name(ssl),
SSL_get_cipher_bits(ssl, NULL));