You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Additional Testing Results: This doesn't just seem to be when parsing a pem, it actively goes against being changed to 0. For example the following commands work as expected:
JRuby OpenSSL sets serial = 1 when it should be zero. Note that Jruby OpenSSL still returns the correct pem.
JRuby Version = jruby 9.1.15.0 (2.3.3) 2017-12-07
JRuby-OpenSSL Version = 0.9.21
OpenSSL output:
Jruby Cert Object:
Pem:
Additional Testing Results: This doesn't just seem to be when parsing a pem, it actively goes against being changed to 0. For example the following commands work as expected:
cert.serial = 10
cert.serial = cert.serial +5 #assuming serial != -5
cert.serial = cert.serial * -1
But these do not:
cert.serial = 0
cert.serial = OpenSSL::BN.new 0
cert.serial = cert.serial * 0
cert.serial = cert.serial -1 #assuming cert.serial = 1
all of the above result in serial = 1
The text was updated successfully, but these errors were encountered: