ruby/ext/openssl
Michael Richardson 91e5f51607 [ruby/openssl] x509ext: let X509::ExtensionFactory#create_ext take a dotted OID string
instead of looking of NIDs and then using X509V3_EXT_nconf_nid,
instead just pass strings to X509V3_EXT_nconf, which has all the logic for
processing dealing with generic extensions
also process the oid through ln2nid() to retain compatibility.

[rhe: tweaked commit message and added a test case]

https://github.com/ruby/openssl/commit/9f15741331
2023-09-06 19:30:32 +09:00
..
lib [ruby/openssl] Prefer String#unpack1 2023-09-06 19:24:53 +09:00
History.md [ruby/openssl] Ruby/OpenSSL 3.1.0 2022-12-23 09:39:15 +09:00
depend [ruby/openssl] add OpenSSL Provider support 2023-06-19 17:45:51 +09:00
extconf.rb [ruby/openssl] Remove OSSL_DEBUG compile-time option 2023-09-06 19:20:57 +09:00
openssl.gemspec [ruby/openssl] Drop support for Ruby 2.6 2023-06-19 01:57:09 +09:00
openssl_missing.c [ruby/openssl] engine: disable OpenSSL::Engine on OpenSSL 3.0 2021-12-20 23:42:03 +09:00
openssl_missing.h [ruby/openssl] pkey, ssl: use EVP_PKEY_eq() instead of EVP_PKEY_cmp() 2021-10-25 00:40:47 +09:00
ossl.c [ruby/openssl] Remove OSSL_DEBUG compile-time option 2023-09-06 19:20:57 +09:00
ossl.h [ruby/openssl] add OpenSSL Provider support 2023-06-19 17:45:51 +09:00
ossl_asn1.c proper function prototypes for openssl 2022-09-21 11:44:09 +09:00
ossl_asn1.h openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
ossl_bio.c openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
ossl_bio.h openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
ossl_bn.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_bn.h openssl is ractor-safe 2020-12-18 18:19:33 +09:00
ossl_cipher.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_cipher.h openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
ossl_config.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_config.h [ruby/openssl] config: replace DupConfigPtr() with GetConfig() 2021-03-16 19:16:10 +09:00
ossl_digest.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_digest.h openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
ossl_engine.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_engine.h
ossl_hmac.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_hmac.h
ossl_kdf.c [ruby/openssl] [DOC] prefer "password" to "passphrase" 2023-08-16 14:48:40 +09:00
ossl_kdf.h openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
ossl_ns_spki.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_ns_spki.h
ossl_ocsp.c [ruby/openssl] Fix OCSP documentation 2023-09-06 19:26:27 +09:00
ossl_ocsp.h Import openssl-2.2.0 (#2693) 2020-02-16 15:21:29 +09:00
ossl_pkcs7.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_pkcs7.h Import openssl-2.2.0 (#2693) 2020-02-16 15:21:29 +09:00
ossl_pkcs12.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_pkcs12.h
ossl_pkey.c [ruby/openssl] ossl_pkey.c: Workaround: Decode with non-zero selections. 2023-08-28 12:05:33 +09:00
ossl_pkey.h [ruby/openssl] Constify when building with OpenSSL 3 2022-12-23 09:39:15 +09:00
ossl_pkey_dh.c [ruby/openssl] [DOC] enhance RDoc for exporting pkeys 2023-08-16 14:48:40 +09:00
ossl_pkey_dsa.c [ruby/openssl] [DOC] enhance RDoc for exporting pkeys 2023-08-16 14:48:40 +09:00
ossl_pkey_ec.c [ruby/openssl] [DOC] enhance RDoc for exporting pkeys 2023-08-16 14:48:40 +09:00
ossl_pkey_rsa.c [ruby/openssl] [DOC] enhance RDoc for exporting pkeys 2023-08-16 14:48:40 +09:00
ossl_provider.c [ruby/openssl] add OpenSSL Provider support 2023-06-19 17:45:51 +09:00
ossl_provider.h [ruby/openssl] add OpenSSL Provider support 2023-06-19 17:45:51 +09:00
ossl_rand.c openssl: sync with upstream repository 2020-03-10 17:41:01 +09:00
ossl_rand.h
ossl_ssl.c [ruby/openssl] ssl: raise SSLError if loading ca_file or ca_path fails 2023-08-16 14:48:41 +09:00
ossl_ssl.h openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
ossl_ssl_session.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_ts.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_ts.h Import openssl-2.2.0 (#2693) 2020-02-16 15:21:29 +09:00
ossl_x509.c [ruby/openssl] require OpenSSL >= 1.0.2 and LibreSSL >= 3.1 2021-07-18 17:44:41 +09:00
ossl_x509.h openssl: import v2.1.0.beta1 2017-09-03 12:35:27 +00:00
ossl_x509attr.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_x509cert.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_x509crl.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_x509ext.c [ruby/openssl] x509ext: let X509::ExtensionFactory#create_ext take a dotted OID string 2023-09-06 19:30:32 +09:00
ossl_x509name.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_x509req.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_x509revoked.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00
ossl_x509store.c [ruby/openssl] Implement Write Barrier for all OpenSSL types 2023-06-19 01:57:09 +09:00