summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2015-08-22 14:52:40 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2015-08-22 14:52:40 +0000
commit0ecb1c3505a5f7738c897ce3fe3bfddbe60048dd (patch)
tree460bc952fcd871f551874bf8d2aa24882af594d7 /lib
parent44a4fa8146e3e6b192a89c5e8444ba926eb5f249 (diff)
Unify error message between client and server.
Diffstat (limited to 'lib')
-rw-r--r--lib/libtls/tls_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libtls/tls_server.c b/lib/libtls/tls_server.c
index 7308171452a..605ab69219b 100644
--- a/lib/libtls/tls_server.c
+++ b/lib/libtls/tls_server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tls_server.c,v 1.8 2015/08/22 14:51:34 jsing Exp $ */
+/* $OpenBSD: tls_server.c,v 1.9 2015/08/22 14:52:39 jsing Exp $ */
/*
* Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
*
@@ -126,7 +126,7 @@ tls_accept_fds(struct tls *ctx, struct tls **cctx, int fd_read, int fd_write)
}
if (SSL_set_rfd(conn_ctx->ssl_conn, fd_read) != 1 ||
SSL_set_wfd(conn_ctx->ssl_conn, fd_write) != 1) {
- tls_set_error(ctx, "ssl set fd failure");
+ tls_set_error(ctx, "ssl file descriptor failure");
goto err;
}
}