Hi!

I just saw that in the file crypto/asn1/asn1_mac.h the
definition of the macro M_ASN1_New_Malloc changed
between SSLeay 0.9.0b to the CVS version:

SSLeay 0.9.0b:
    196 #define M_ASN1_New_Malloc(ret,type) \
    197         if ((ret=(type *)Malloc(sizeof(type))) == NULL) goto
err2;

CVS version:
    262 #define M_ASN1_New_Malloc(ret,type) \
    263         if ((ret=(type *)Malloc(sizeof(type))) == NULL) \
    264                 { c.line=__LINE__; goto err2; }

So in the CVS version a variable named 'c' is used additionally.
Compiling a_type.c from SSLeay 0.9.0b results in an error:
a_type.c: In function `ASN1_TYPE_new':
a_type.c:256: `c' undeclared (first use in this function)
a_type.c:256: (Each undeclared identifier is reported only once
a_type.c:256: for each function it appears in.)

This is due to to this newly used variable c.
Normally c is introduced by the macro M_ASN1_D2I_vars() which
is missing in both the SSLeay version and the CVS version of
the function ASN1_TYPE_new() in a_type.c.
Is code missing here or do I miss something?

-- 
Ciao ... Heiko Nardmann (Dipl.-Ing.)
Software Development, secunet (www.secunet.de)
Security Networks GmbH, Weidenauer Str. 223-225, D-57076 Siegen
Tel. : +49 271 48950-13                 Fax  : +49 271 48950-50
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to