зеркало из https://github.com/github/ruby.git
ossl_ssl.c: fix condition
* ext/openssl/ossl_ssl.c (ossl_ssl_alpn_protocol): fix condition to compile, needs ALPN to be available. [Feature #9390] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
288f6e1b89
Коммит
edf712bfd8
|
@ -1,3 +1,8 @@
|
||||||
|
Sun Jul 26 19:21:31 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/openssl/ossl_ssl.c (ossl_ssl_alpn_protocol): fix condition
|
||||||
|
to compile, needs ALPN to be available. [Feature #9390]
|
||||||
|
|
||||||
Sun Jul 26 11:29:01 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sun Jul 26 11:29:01 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* signal.c (default_handler, Init_signal): discard SIGSYS, ENOSYS
|
* signal.c (default_handler, Init_signal): discard SIGSYS, ENOSYS
|
||||||
|
|
|
@ -1932,7 +1932,9 @@ ossl_ssl_npn_protocol(VALUE self)
|
||||||
else
|
else
|
||||||
return rb_str_new((const char *) out, outlen);
|
return rb_str_new((const char *) out, outlen);
|
||||||
}
|
}
|
||||||
|
# endif
|
||||||
|
|
||||||
|
# ifdef HAVE_SSL_CTX_SET_ALPN_SELECT_CB
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* call-seq:
|
||||||
* ssl.alpn_protocol => String
|
* ssl.alpn_protocol => String
|
||||||
|
|
Загрузка…
Ссылка в новой задаче