summaryrefslogtreecommitdiff
path: root/sys/man/2
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-03-10 00:41:46 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2015-03-10 00:41:46 +0100
commitdfed1eb851c363509201c3f03ea0123d069008d5 (patch)
treee7f0160a176ff5a8dba34e7fa82afe1e02ad9b92 /sys/man/2
parent482694b72a4d720a6c4246b721b34195f02ac4b8 (diff)
pushtls(2): fix signature to TLSconn.trace()
Diffstat (limited to 'sys/man/2')
-rw-r--r--sys/man/2/pushtls2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/man/2/pushtls b/sys/man/2/pushtls
index 1f3fa2b94..48255d234 100644
--- a/sys/man/2/pushtls
+++ b/sys/man/2/pushtls
@@ -101,7 +101,7 @@ typedef struct TLSconn {
uchar *cert; /* IN/OUT certificate */
uchar *sessionID; /* IN/OUT session ID */
int certlen, sessionIDlen;
- void (*trace)(char*fmt, ...);
+ int (*trace)(char*fmt, ...);
PEMChain *chain;
char *sessionType; /* opt IN session type */
uchar *sessionKey; /* opt IN/OUT session key */