drb
drb copied to clipboard
Fix wrong certificate version
OpenSSL::X509::Certificate#version= calls X509_set_version, and that sets the version stored in the certificate. However, the version stored in certificate is one less than the actual certificate version (https://www.openssl.org/docs/manmaster/man3/X509_set_version.html). There are no version 4 certificates, and when using recent LibreSSL, drb ssl tests all fail without this change.