Project

General

Profile

Feature #4805

Add X509::Name#hash_old for 0.9.X compat

Added by nahi (Hiroshi Nakamura) over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
[ruby-core:36628]

Description

X509::Name#hash with OpenSSL 1.0.0 returns different value than with OpenSSL 0.9.X.
Attached patch adds X509::Name#hash_old when you need MD5 based same X509_NAME_hash value as OpenSSL 0.9.X.

Martin, how do you think about adding it?


Files

X509-Name-hash_old.diff (3.16 KB) X509-Name-hash_old.diff nahi (Hiroshi Nakamura), 05/31/2011 09:42 PM

Also available in: Atom PDF