Project

General

Profile

Actions

Feature #4116

closed

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

Added by drbrain (Eric Hodel) over 13 years ago. Updated about 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

Also available in: Atom PDF

Like0
Like0Like0