summaryrefslogtreecommitdiff
path: root/src/lib/libressl/ressl.h
diff options
context:
space:
mode:
authortedu <>2014-08-15 16:55:32 +0000
committertedu <>2014-08-15 16:55:32 +0000
commite63c84100a7abdf2dd60c84d272c6dea7a8490b5 (patch)
tree62cda1a2cbe6bca615e4156380c4a04e0e3a4bfb /src/lib/libressl/ressl.h
parent3851718ce44d5d845cba0e7519642aa1c24624ca (diff)
downloadopenbsd-e63c84100a7abdf2dd60c84d272c6dea7a8490b5.tar.gz
openbsd-e63c84100a7abdf2dd60c84d272c6dea7a8490b5.tar.bz2
openbsd-e63c84100a7abdf2dd60c84d272c6dea7a8490b5.zip
use void * instead of char *. ok jsing
Diffstat (limited to 'src/lib/libressl/ressl.h')
-rw-r--r--src/lib/libressl/ressl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libressl/ressl.h b/src/lib/libressl/ressl.h
index 0b437c4ad9..46672d97cb 100644
--- a/src/lib/libressl/ressl.h
+++ b/src/lib/libressl/ressl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ressl.h,v 1.11 2014/08/06 01:54:01 jsing Exp $ */ 1/* $OpenBSD: ressl.h,v 1.12 2014/08/15 16:55:32 tedu Exp $ */
2/* 2/*
3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> 3 * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
4 * 4 *
@@ -57,8 +57,8 @@ int ressl_accept_socket(struct ressl *ctx, struct ressl **cctx, int socket);
57int ressl_connect(struct ressl *ctx, const char *host, const char *port); 57int ressl_connect(struct ressl *ctx, const char *host, const char *port);
58int ressl_connect_socket(struct ressl *ctx, int s, const char *hostname); 58int ressl_connect_socket(struct ressl *ctx, int s, const char *hostname);
59int ressl_listen(struct ressl *ctx, const char *host, const char *port, int af); 59int ressl_listen(struct ressl *ctx, const char *host, const char *port, int af);
60int ressl_read(struct ressl *ctx, char *buf, size_t buflen, size_t *outlen); 60int ressl_read(struct ressl *ctx, void *buf, size_t buflen, size_t *outlen);
61int ressl_write(struct ressl *ctx, const char *buf, size_t buflen, 61int ressl_write(struct ressl *ctx, const void *buf, size_t buflen,
62 size_t *outlen); 62 size_t *outlen);
63int ressl_close(struct ressl *ctx); 63int ressl_close(struct ressl *ctx);
64 64