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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libtls/tls.h b/src/lib/libtls/tls.h
index 579a97798e..8548fe1d83 100644
--- a/src/lib/libtls/tls.h
+++ b/src/lib/libtls/tls.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: tls.h,v 1.15 2015/09/10 09:10:42 jsing Exp $ */ 1/* $OpenBSD: tls.h,v 1.16 2015/09/10 10:14:20 jsing Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -94,6 +94,7 @@ int tls_connect_fds(struct tls *_ctx, int _fd_read, int _fd_write,
94int tls_connect_servername(struct tls *_ctx, const char *_host, 94int tls_connect_servername(struct tls *_ctx, const char *_host,
95 const char *_port, const char *_servername); 95 const char *_port, const char *_servername);
96int tls_connect_socket(struct tls *_ctx, int _s, const char *_servername); 96int tls_connect_socket(struct tls *_ctx, int _s, const char *_servername);
97int tls_handshake(struct tls *_ctx);
97int tls_read(struct tls *_ctx, void *_buf, size_t _buflen, size_t *_outlen); 98int tls_read(struct tls *_ctx, void *_buf, size_t _buflen, size_t *_outlen);
98int tls_write(struct tls *_ctx, const void *_buf, size_t _buflen, 99int tls_write(struct tls *_ctx, const void *_buf, size_t _buflen,
99 size_t *_outlen); 100 size_t *_outlen);