Martin Kraemer wrote:
>
> I get warnings when compiling a recent snapshot:
>
> cc -I.. -I../../include -KPIC -g -DSNI -DTERMIOS -DB_ENDIAN -c
> v3_conf.c -o v3_conf.o
> ../../include/x509.h 259: [warning]: CFE1381 extra ";" ignored
> DECLARE_STACK_OF(X509_ATTRIBUTE);
> ^
> x509v3.h 227: [warning]: CFE1381 extra ";" ignored
> DECLARE_STACK_OF(POLICYINFO);
> ^
> x509v3.h 228: [warning]: CFE1381 extra ";" ignored
> DECLARE_ASN1_SET_OF(POLICYINFO);
> ^
Good point ... I'll fix 'em (remind me if I don't coz I've just got off
a plane and I'm not doing it now).
>
> -- plus I get compile errors because the free_string() method returns
> void,
> so cannot be used as argument of a return statement:
>
> v3_conf.c 323: [error]: CFE1118 a void function may not return a
> value
> return ctx->db_meth->free_string(ctx->db, str);
> ^
> v3_conf.c 332: [error]: CFE1118 a void function may not return a
> value
> return ctx->db_meth->free_section(ctx->db, section);
> ^
>
> Am I missing something (like, e.g., an update ;-) ?
Errr? I'm surprised gcc doesn't complain?
Cheers,
Ben.
--
http://www.apache-ssl.org/ben.html
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]