summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libtls/tls_client.c')
-rw-r--r--src/lib/libtls/tls_client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libtls/tls_client.c b/src/lib/libtls/tls_client.c
index 4a9a4c976d..d9354c3140 100644
--- a/src/lib/libtls/tls_client.c
+++ b/src/lib/libtls/tls_client.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls_client.c,v 1.9 2015/01/22 09:16:24 reyk Exp $ */ 1/* $OpenBSD: tls_client.c,v 1.10 2015/01/30 14:25:37 bluhm Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -225,7 +225,7 @@ tls_connect_fds(struct tls *ctx, int fd_read, int fd_write,
225 ctx->flags |= TLS_CONNECTING; 225 ctx->flags |= TLS_CONNECTING;
226 return (TLS_WRITE_AGAIN); 226 return (TLS_WRITE_AGAIN);
227 default: 227 default:
228 tls_set_error(ctx, "SSL connect failed: %i", ssl_err); 228 tls_set_error(ctx, "TLS connect failed (%i)", ssl_err);
229 goto err; 229 goto err;
230 } 230 }
231 } 231 }