Skip to content

Commit 54fa33e

Browse files
author
ngoto
committed
* ext/openssl/ossl_ssl.c (ssl_npn_select_cb_common): Fix compile error
with old version of fcc (Fujitsu C Compiler) on Solaris 10. [Bug ruby#12769] [ruby-dev:49809] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 16391af commit 54fa33e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Fri Sep 16 22:10:31 2016 Naohisa Goto <ngotogenome@gmail.com>
2+
3+
* ext/openssl/ossl_ssl.c (ssl_npn_select_cb_common): Fix compile error
4+
with old version of fcc (Fujitsu C Compiler) on Solaris 10.
5+
[Bug #12769] [ruby-dev:49809]
6+
17
Fri Sep 16 21:28:25 2016 Naohisa Goto <ngotogenome@gmail.com>
28

39
* internal.h (MAYBE_UNUSED): The fallback definition is needed.

ext/openssl/ossl_ssl.c

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -636,7 +636,11 @@ ssl_npn_select_cb_common(SSL *ssl, VALUE cb, const unsigned char **out,
636636
{
637637
VALUE selected;
638638
int status;
639-
struct npn_select_cb_common_args args = { cb, in, inlen };
639+
struct npn_select_cb_common_args args;
640+
641+
args.cb = cb;
642+
args.in = in;
643+
args.inlen = inlen;
640644

641645
selected = rb_protect(npn_select_cb_common_i, (VALUE)&args, &status);
642646
if (status) {

0 commit comments

Comments
 (0)