diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-09-18 08:52:40 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-09-18 08:52:40 +0000 |
commit | e8854f8c62bd4241c77e5b2db82060d94193ea51 (patch) | |
tree | 879b1b293c980ad1d5ef0241a0f0541fa9004b44 /ext | |
parent | 315cbef8358eb4f1fae3faba90c459054ad2a2c0 (diff) | |
download | ruby-e8854f8c62bd4241c77e5b2db82060d94193ea51.tar.gz |
* ext/openssl/ossl_ssl.c (ossl_sslctx_attrs): add npn_select_db to
suppress warning: instance variable @npn_select_cb not initialized
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/openssl/ossl_ssl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c index 86ec206121..34df7d3d01 100644 --- a/ext/openssl/ossl_ssl.c +++ b/ext/openssl/ossl_ssl.c @@ -72,6 +72,7 @@ static const char *ossl_sslctx_attrs[] = { #endif #ifdef HAVE_OPENSSL_NPN_NEGOTIATED "npn_protocols", + "npn_select_cb", #endif }; |