Project

General

Profile

Actions

Bug #4422

closed

[ext/openssl] Fix DSA public key PEM encoding

Added by MartinBosslet (Martin Bosslet) over 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]
Backport:
[ruby-core:35328]

Description

=begin
Related to http://redmine.ruby-lang.org/issues/show/4421.

The difference is that DSA already uses the "right" function for DER encoding,
but the "wrong" function (PEM_write_bio_DSAPublicKey instead of
PEM_write_bio_DSA_PUBKEY) for PEM encoding.

Similar to the RSA case, fallbacks in initialize are also re-prioritized
and again this should cause no trouble because initialize recognizes all
of the formats.

Regards,
Martin
=end


Files

fix_dsa_pub_encoding.diff (1.05 KB) fix_dsa_pub_encoding.diff MartinBosslet (Martin Bosslet), 02/22/2011 08:25 AM
Actions

Also available in: Atom PDF