summaryrefslogtreecommitdiff
path: root/lib/libtls
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2021-10-21 08:31:52 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2021-10-21 08:31:52 +0000
commitda8402d51694dca3b97943ad342361d2c95d5739 (patch)
tree0737f8b151694c5b9e595d539571564dc528cfec /lib/libtls
parent4b60924a6c224e2475928674b9652efc5e85bcbf (diff)
Use *printf %d instead of %i
ok jsing
Diffstat (limited to 'lib/libtls')
-rw-r--r--lib/libtls/tls.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libtls/tls.c b/lib/libtls/tls.c
index fb8804dc1c3..650610a5159 100644
--- a/lib/libtls/tls.c
+++ b/lib/libtls/tls.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls.c,v 1.90 2021/10/02 09:46:48 jsing Exp $ */
+/* $OpenBSD: tls.c,v 1.91 2021/10/21 08:31:51 tb Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
@@ -747,7 +747,7 @@ tls_ssl_error(struct tls *ctx, SSL *ssl_conn, int ssl_ret, const char *prefix)
case SSL_ERROR_WANT_ACCEPT:
case SSL_ERROR_WANT_X509_LOOKUP:
default:
- tls_set_ssl_errorx(ctx, "%s failed (%i)", prefix, ssl_err);
+ tls_set_ssl_errorx(ctx, "%s failed (%d)", prefix, ssl_err);
return (-1);
}
}