From b84c34616978bc8f3ea82a0dd558239cc583e2af Mon Sep 17 00:00:00 2001
From: tedu <>
Date: Fri, 15 Aug 2014 16:55:32 +0000
Subject: use void * instead of char *. ok jsing

---
 src/lib/libressl/ressl.c | 6 +++---
 src/lib/libressl/ressl.h | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

(limited to 'src/lib')

diff --git a/src/lib/libressl/ressl.c b/src/lib/libressl/ressl.c
index 01d1610e3f..c5e28a4f36 100644
--- a/src/lib/libressl/ressl.c
+++ b/src/lib/libressl/ressl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ressl.c,v 1.11 2014/08/06 01:54:01 jsing Exp $ */
+/* $OpenBSD: ressl.c,v 1.12 2014/08/15 16:55:32 tedu Exp $ */
 /*
  * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
  *
@@ -202,7 +202,7 @@ ressl_reset(struct ressl *ctx)
 }
 
 int
-ressl_read(struct ressl *ctx, char *buf, size_t buflen, size_t *outlen)
+ressl_read(struct ressl *ctx, void *buf, size_t buflen, size_t *outlen)
 {
 	int ret, ssl_err;
 
@@ -225,7 +225,7 @@ ressl_read(struct ressl *ctx, char *buf, size_t buflen, size_t *outlen)
 }
 
 int
-ressl_write(struct ressl *ctx, const char *buf, size_t buflen, size_t *outlen)
+ressl_write(struct ressl *ctx, const void *buf, size_t buflen, size_t *outlen)
 {
 	int ret, ssl_err;
 
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 @@
-/* $OpenBSD: ressl.h,v 1.11 2014/08/06 01:54:01 jsing Exp $ */
+/* $OpenBSD: ressl.h,v 1.12 2014/08/15 16:55:32 tedu Exp $ */
 /*
  * Copyright (c) 2014 Joel Sing <jsing@openbsd.org>
  *
@@ -57,8 +57,8 @@ int ressl_accept_socket(struct ressl *ctx, struct ressl **cctx, int socket);
 int ressl_connect(struct ressl *ctx, const char *host, const char *port);
 int ressl_connect_socket(struct ressl *ctx, int s, const char *hostname);
 int ressl_listen(struct ressl *ctx, const char *host, const char *port, int af);
-int ressl_read(struct ressl *ctx, char *buf, size_t buflen, size_t *outlen);
-int ressl_write(struct ressl *ctx, const char *buf, size_t buflen,
+int ressl_read(struct ressl *ctx, void *buf, size_t buflen, size_t *outlen);
+int ressl_write(struct ressl *ctx, const void *buf, size_t buflen,
     size_t *outlen);
 int ressl_close(struct ressl *ctx);
 
-- 
cgit v1.2.3-55-g6feb