diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libtls/tls.h | 6 |
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); | |||
| 70 | int tls_accept_socket(struct tls *ctx, struct tls **cctx, int socket); | 70 | int tls_accept_socket(struct tls *ctx, struct tls **cctx, int socket); |
| 71 | int tls_connect(struct tls *ctx, const char *host, const char *port); | 71 | int tls_connect(struct tls *ctx, const char *host, const char *port); |
| 72 | int tls_connect_fds(struct tls *ctx, int fd_read, int fd_write, | 72 | int tls_connect_fds(struct tls *ctx, int fd_read, int fd_write, |
| 73 | const char *hostname); | 73 | const char *servername); |
| 74 | int tls_connect_socket(struct tls *ctx, int s, const char *hostname); | 74 | int tls_connect_socket(struct tls *ctx, int s, const char *servername); |
| 75 | int tls_read(struct tls *ctx, void *buf, size_t buflen, size_t *outlen); | 75 | int tls_read(struct tls *ctx, void *buf, size_t buflen, size_t *outlen); |
| 76 | int tls_write(struct tls *ctx, const void *buf, size_t buflen, size_t *outlen); | 76 | int tls_write(struct tls *ctx, const void *buf, size_t buflen, size_t *outlen); |
| 77 | int tls_close(struct tls *ctx); | 77 | int tls_close(struct tls *ctx); |
