https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112011-12-22T05:13:16ZRuby Issue Tracking SystemRuby master - Feature #5787: OpenSSL::X509::Name#to_a Improvement (Patch Attached)https://redmine.ruby-lang.org/issues/5787?journal_id=229102011-12-22T05:13:16Zreaperhulk (Paul Kehrer)paul.l.kehrer@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/2337">name-fix-v2.diff</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/2337/name-fix-v2.diff">name-fix-v2.diff</a> added</li></ul><p>Updated patch to avoid a probable memory leak. I don't do much in C so if I still have a mistake please let me know! The github diff is at <a href="https://github.com/reaperhulk/ruby/compare/trunk" class="external">https://github.com/reaperhulk/ruby/compare/trunk</a></p> Ruby master - Feature #5787: OpenSSL::X509::Name#to_a Improvement (Patch Attached)https://redmine.ruby-lang.org/issues/5787?journal_id=229182011-12-22T09:41:10ZMartinBosslet (Martin Bosslet)Martin.Bosslet@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>MartinBosslet (Martin Bosslet)</i></li><li><strong>Target version</strong> set to <i>2.0.0</i></li></ul><p>That's a good idea, Paul, thanks. It's also in line with RFC 4514 (the former 2253).<br>
I'll have to check whether this causes problems when again parsing such a string<br>
representation and probably fix that, too. But once that's done I'm going to apply<br>
your patch.</p> Ruby master - Feature #5787: OpenSSL::X509::Name#to_a Improvement (Patch Attached)https://redmine.ruby-lang.org/issues/5787?journal_id=229332011-12-22T23:57:08Zreaperhulk (Paul Kehrer)paul.l.kehrer@gmail.com
<ul></ul><p>Great news, let me know if there's anything I can do to help.</p> Ruby master - Feature #5787: OpenSSL::X509::Name#to_a Improvement (Patch Attached)https://redmine.ruby-lang.org/issues/5787?journal_id=236302012-02-08T13:19:34ZAnonymous
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>This issue was solved with changeset r34481.<br>
Paul, thank you for reporting this issue.<br>
Your contribution to Ruby is greatly appreciated.<br>
May Ruby be with you.</p>
<hr>
<ul>
<li>
<p>ext/openssl/ossl_x509name.c: Use the numerical representation of<br>
unrecognized OIDs instead of the sn "UNDEF".</p>
</li>
<li>
<p>test/openssl/test_x509name.rb: Add tests for the fixed behavior.</p>
<p>Patch provided by Paul Kehrer, thanḱ you!<br>
<a href="/issues/5787">[ruby-core:41769]</a> [Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: OpenSSL::X509::Name#to_a Improvement (Patch Attached) (Closed)" href="https://redmine.ruby-lang.org/issues/5787">#5787</a>]</p>
</li>
</ul>