[ruby-cvs:59378] naruse:r52227 (trunk): * ext/openssl/ossl_ssl.c (ssl_npn_select_cb): explicitly raise error

naruse at ruby-lang.org naruse at ruby-lang.org
Fri Oct 23 01:54:02 JST 2015


naruse	2015-10-23 01:54:01 +0900 (Fri, 23 Oct 2015)

  New Revision: 52227

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=52227

  Log:
    * ext/openssl/ossl_ssl.c (ssl_npn_select_cb): explicitly raise error
      in ext/openssl instead of OpenSSL itself because LibreSSL
      silently truncate the selected protocol name by casting the length
      from int to unsigned char. [Bug #11369]
      Patch by Jeremy Evans <merch-redmine at jeremyevans.net>

  Modified files:
    trunk/ChangeLog
    trunk/ext/openssl/ossl_ssl.c


More information about the ruby-cvs mailing list