Ben Laurie wrote:
> 
> Dr Stephen Henson wrote:
> >
> > Jean-Marc Desperrier wrote:
> > There's a problem with this solution. If you need another ASN1_STRING
> > equivalent STACK_OF such as ASN1_IA5STRING you get a conflict because
> > the structure STACK_ASN1_STRING gets declared twice.
> 
> If IA5STRING used a typedef instead of a #define, then this wouldn't be
> a problem (and it'd be properly typesafe), would it?
> 

Yes that would fix it though I'm not sure if there would be any other
side effects: one way to find out. It does this when DEBUG is #define'd
anyway. 

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to