mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 20:44:20 +00:00
[ruby/openssl] Convert ossl_x509ext.c to opaque ASN1_STRING
https://github.com/ruby/openssl/commit/a41cf28bab
This commit is contained in:
parent
38ad0806d7
commit
8d3da814c0
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user