diff options
author | 2016-09-04 13:20:56 +0000 | |
---|---|---|
committer | 2016-09-04 13:20:56 +0000 | |
commit | 2233a86c2f7451289223295647b5e8e4c28cae9c (patch) | |
tree | c5151d7463f3c621be4a1053431747ba968dd850 /lib/libtls/tls_server.c | |
parent | Sort headers and use the installed tls.h, rather than the local one. (diff) | |
download | wireguard-openbsd-2233a86c2f7451289223295647b5e8e4c28cae9c.tar.xz wireguard-openbsd-2233a86c2f7451289223295647b5e8e4c28cae9c.zip |
Maintain consistency with function naming.
Diffstat (limited to 'lib/libtls/tls_server.c')
-rw-r--r-- | lib/libtls/tls_server.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libtls/tls_server.c b/lib/libtls/tls_server.c index 01f9ed3b7f8..fd352a8a949 100644 --- a/lib/libtls/tls_server.c +++ b/lib/libtls/tls_server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tls_server.c,v 1.26 2016/09/04 12:26:43 bcook Exp $ */ +/* $OpenBSD: tls_server.c,v 1.27 2016/09/04 13:20:56 jsing Exp $ */ /* * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> * @@ -280,7 +280,7 @@ tls_configure_server(struct tls *ctx) } static struct tls * -accept_common(struct tls *ctx) +tls_accept_common(struct tls *ctx) { struct tls *conn_ctx = NULL; @@ -323,7 +323,7 @@ tls_accept_fds(struct tls *ctx, struct tls **cctx, int fd_read, int fd_write) { struct tls *conn_ctx; - if ((conn_ctx = accept_common(ctx)) == NULL) + if ((conn_ctx = tls_accept_common(ctx)) == NULL) goto err; if (SSL_set_rfd(conn_ctx->ssl_conn, fd_read) != 1 || @@ -348,7 +348,7 @@ tls_accept_cbs(struct tls *ctx, struct tls **cctx, { struct tls *conn_ctx; - if ((conn_ctx = accept_common(ctx)) == NULL) + if ((conn_ctx = tls_accept_common(ctx)) == NULL) goto err; if (tls_set_cbs(ctx, read_cb, write_cb, cb_arg) != 0) { |