diff options
Diffstat (limited to 'src/lib/libtls/tls.h')
-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 0a9c163250..6cc3d0d6f8 100644 --- a/src/lib/libtls/tls.h +++ b/src/lib/libtls/tls.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: tls.h,v 1.37 2016/09/04 14:15:44 jsing Exp $ */ | 1 | /* $OpenBSD: tls.h,v 1.38 2016/09/13 13:40:58 tedu Exp $ */ |
2 | /* | 2 | /* |
3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
4 | * | 4 | * |
@@ -44,9 +44,9 @@ extern "C" { | |||
44 | struct tls; | 44 | struct tls; |
45 | struct tls_config; | 45 | struct tls_config; |
46 | 46 | ||
47 | typedef ssize_t (*tls_read_cb)(void *_ctx, void *_buf, size_t _buflen, | 47 | typedef ssize_t (*tls_read_cb)(struct tls *_ctx, void *_buf, size_t _buflen, |
48 | void *_cb_arg); | 48 | void *_cb_arg); |
49 | typedef ssize_t (*tls_write_cb)(void *_ctx, const void *_buf, | 49 | typedef ssize_t (*tls_write_cb)(struct tls *_ctx, const void *_buf, |
50 | size_t _buflen, void *_cb_arg); | 50 | size_t _buflen, void *_cb_arg); |
51 | 51 | ||
52 | int tls_init(void); | 52 | int tls_init(void); |