Project

General

Profile

Actions

Bug #6703

closed

openssl: using a newly registered extension

Added by vbatts (Vincent Batts) over 11 years ago. Updated over 7 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
Backport:
[ruby-core:46210]

Description

When registering a new ASN.1 extension OBJ_create(), it should make it available for OBJ_ln2nid() and OBJ_sn2nid() searches that are performed in OpenSSL::X509::ExtensionFactory.create_ext
I've attached a ruby case where this should work,
As well as a C sample where you can see it working.

p.s. I wish that OBJ_txt2nid was added to the functions used when searching for the nid


Files

ossl_ext_bug.rb (317 Bytes) ossl_ext_bug.rb test case of seeing the case fail vbatts (Vincent Batts), 07/06/2012 06:27 AM
o.c (574 Bytes) o.c C example, but using OBJ_txt2nid() as well vbatts (Vincent Batts), 07/06/2012 06:27 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0