Mattias Ellert via RT | 3 Dec 2009 20:56
Picon
Favicon

[openssl.org #2123] Buggy openssl header causes compilation errors

Created from downstream bug report:

https://bugzilla.redhat.com/show_bug.cgi?id=543634

Description of problem:

The openssl/asn1.h header file is buggy. For a C program this causes compiler
warnings. For a C++ program this causes compiler errors, because C++ is a
strongly typed language.

Version-Release number of selected component (if applicable):

openssl-devel-1.0.0-0.13.beta4.fc12.x86_64

How reproducible:

Always.

Steps to Reproduce:

1. Compile the attatched test program:

https://bugzilla.redhat.com/attachment.cgi?id=375537

Actual results:

2. With gcc it compiles but gives warnings:

[ellert <at> localhost ~]$ LANG=C gcc -o test test.c -lssl
test.c: In function 'main':
(Continue reading)


Gmane