summaryrefslogtreecommitdiff
path: root/src/lib/libtls/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libtls/tls.h')
-rw-r--r--src/lib/libtls/tls.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libtls/tls.h b/src/lib/libtls/tls.h
index bd1eed559b..c266832c80 100644
--- a/src/lib/libtls/tls.h
+++ b/src/lib/libtls/tls.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls.h,v 1.5 2015/02/07 23:25:37 reyk Exp $ */ 1/* $OpenBSD: tls.h,v 1.6 2015/02/11 06:46:33 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -70,8 +70,8 @@ void tls_free(struct tls *ctx);
70int tls_accept_socket(struct tls *ctx, struct tls **cctx, int socket); 70int tls_accept_socket(struct tls *ctx, struct tls **cctx, int socket);
71int tls_connect(struct tls *ctx, const char *host, const char *port); 71int tls_connect(struct tls *ctx, const char *host, const char *port);
72int tls_connect_fds(struct tls *ctx, int fd_read, int fd_write, 72int tls_connect_fds(struct tls *ctx, int fd_read, int fd_write,
73 const char *hostname); 73 const char *servername);
74int tls_connect_socket(struct tls *ctx, int s, const char *hostname); 74int tls_connect_socket(struct tls *ctx, int s, const char *servername);
75int tls_read(struct tls *ctx, void *buf, size_t buflen, size_t *outlen); 75int tls_read(struct tls *ctx, void *buf, size_t buflen, size_t *outlen);
76int tls_write(struct tls *ctx, const void *buf, size_t buflen, size_t *outlen); 76int tls_write(struct tls *ctx, const void *buf, size_t buflen, size_t *outlen);
77int tls_close(struct tls *ctx); 77int tls_close(struct tls *ctx);