Project

General

Profile

Actions

Feature #4116

closed

OpenSSL::X509::Name provides <=> but not ==

Added by drbrain (Eric Hodel) over 13 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
-
[ruby-core:33560]

Description

=begin
It is not easy to compare to X509 Name objects.

#<=> is provided allowing equality or ordering to be determined only through roundabout means.

#hash and #eql? are provided using the same underlying C call as #<=>

The attached patch includes Comparable in OpenSSL::X509::Name and some additional documentation for #initialize.
=end


Files

ossl_x509name.c.comparable.patch (1.71 KB) ossl_x509name.c.comparable.patch drbrain (Eric Hodel), 12/04/2010 11:45 AM
Actions #1

Updated by tenderlovemaking (Aaron Patterson) over 13 years ago

  • Assignee set to drbrain (Eric Hodel)

=begin
The patch looks good to me. Can you apply?
=end

Actions #2

Updated by drbrain (Eric Hodel) over 13 years ago

  • Status changed from Open to Closed

=begin
Committed.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0