Skip to content

Add OpenSSL::SSL::OP_NO_RENEGOTIATION #212

Description

@p-mongo

This constant is used to disable renegotiation.

MRI:

serene% irb -ropenssl
irb(main):001:0> OpenSSL::SSL::OP_NO_RENEGOTIATION
=> 1073741824

JRuby:

irb(main):001:0> OpenSSL::SSL::OP_NO_RENEGOTIATION
Traceback (most recent call last):
        7: from /home/w/.rbenv/versions/jruby-9.2.11/bin/irb:13:in `<main>'
        6: from org/jruby/RubyKernel.java:1189:in `catch'
        5: from org/jruby/RubyKernel.java:1189:in `catch'
        4: from org/jruby/RubyKernel.java:1442:in `loop'
        3: from org/jruby/RubyKernel.java:1048:in `eval'
        2: from (irb):1:in `evaluate'
        1: from org/jruby/RubyModule.java:3760:in `const_missing'
NameError (uninitialized constant OpenSSL::SSL::OP_NO_RENEGOTIATION)
Did you mean?  OpenSSL::SSL::OP_NO_TICKET

Tested on JRuby 9.2.13.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions