Project

General

Profile

Feature #4116

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

Added by drbrain (Eric Hodel) over 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
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

History

#1

Updated by tenderlovemaking (Aaron Patterson) over 8 years ago

  • Assignee set to drbrain (Eric Hodel)

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

#2

Updated by drbrain (Eric Hodel) over 8 years ago

  • Status changed from Open to Closed

=begin
Committed.
=end

Also available in: Atom PDF