summaryrefslogtreecommitdiff
path: root/ext/openssl/ossl_ssl.c
diff options
context:
space:
mode:
author卜部昌平 <[email protected]>2022-09-21 10:14:00 +0900
committer卜部昌平 <[email protected]>2022-09-21 11:44:09 +0900
commit7060b23ffa25fb53884e99e4ab1fa8919f666beb (patch)
tree960a6fb1be31eab7e46e6c88b762684efb2cd7a8 /ext/openssl/ossl_ssl.c
parent437800d3b0bdacf30b82fff15dd5532fbf65c3ab (diff)
proper function prototypes for openssl
Just to reroute compiler warnings.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6358
Diffstat (limited to 'ext/openssl/ossl_ssl.c')
-rw-r--r--ext/openssl/ossl_ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c
index af262d9f56..6e1a50fd6d 100644
--- a/ext/openssl/ossl_ssl.c
+++ b/ext/openssl/ossl_ssl.c
@@ -1662,7 +1662,7 @@ io_wait_readable(rb_io_t *fptr)
}
static VALUE
-ossl_start_ssl(VALUE self, int (*func)(), const char *funcname, VALUE opts)
+ossl_start_ssl(VALUE self, int (*func)(SSL *), const char *funcname, VALUE opts)
{
SSL *ssl;
rb_io_t *fptr;