In message <[EMAIL PROTECTED]> on Fri, 27 Feb 2004 14:00:24 +0100 (MET), "Stephen
Henson via RT" <[EMAIL PROTECTED]> said:
rt>
rt> [levitte - Fri Feb 27 00:04:45 2004]:
rt>
rt> > I noticed the EVP_dss1() hack, and am pondering about something a bit
rt> > mkore generic. Could you test if the following line works?
rt> >
rt> > evp_md = EVP_get_digestbynid(EVP_MD_nid(rkey));
rt> >
rt> > [guest - Mon Feb 23 18:13:00 2004]:
rt> >
rt> > > Attached file extend OCSP responder with:
rt> > > - add support for dsa keys;
rt> > > - set SO_REUSEADDR when system support it.
rt> > >
rt> > > What about attached patch ?
rt> > > It is against 0.9.7b, but same fixes can be applied for 0.9.7c.
rt> >
rt>
rt> Its only because both EVP_PKEY and EVP_MD structures both have a field
rt> called "type" and that EVP_MD_nid() is a macro that it works.
rt>
rt> If ever EVP_MD_nid() was changed to a function bad things could happen.
[...]
rt> The applications currently access pkey->type directly for this kind of
rt> thing.
So basically, you're saying that the following would be the right
thing to do:
evp_md = EVP_get_digestbynid(rkey->type);
-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.
--
Richard Levitte \ Tunnlandsv�gen 52 \ [EMAIL PROTECTED]
[EMAIL PROTECTED] \ S-168 36 BROMMA \ T: +46-708-26 53 44
\ SWEDEN \
Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]