[ruby-cvs:58610] tenderlove:r51462 (trunk): * ext/openssl/ossl_ssl.c (ossl_sslctx_setup): Implement

tenderlove at ruby-lang.org tenderlove at ruby-lang.org
Sat Aug 1 09:12:47 JST 2015


tenderlove	2015-08-01 09:12:46 +0900 (Sat, 01 Aug 2015)

  New Revision: 51462

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

  Log:
    * ext/openssl/ossl_ssl.c (ossl_sslctx_setup): Implement
      SSLContext#options and options= using SSL_CTX_set_options and
      SSL_CTX_get_options. This reduces the number of ivars we need and
      simplifies `ossl_sslctx_setup`.
    
    * ext/openssl/lib/openssl/ssl.rb (module OpenSSL): Default `options`
      to SSL_OP_ALL

  Modified files:
    trunk/ChangeLog
    trunk/ext/openssl/lib/openssl/ssl.rb
    trunk/ext/openssl/ossl_ssl.c
    trunk/test/openssl/test_ssl.rb


More information about the ruby-cvs mailing list