[ruby/openssl] Convert ossl_x509ext.c to opaque ASN1_STRING

https://github.com/ruby/openssl/commit/a41cf28bab
This commit is contained in:
Theo Buehler 2025-12-05 14:15:08 +01:00 committed by git
parent 38ad0806d7
commit 8d3da814c0

View File

@ -402,7 +402,7 @@ ossl_x509ext_get_value_der(VALUE obj)
if ((value = X509_EXTENSION_get_data(ext)) == NULL)
ossl_raise(eX509ExtError, NULL);
return rb_str_new((const char *)value->data, value->length);
return asn1str_to_str(value);
}
static VALUE