misc/188455: openssl bn.h generates error

Antonio Querubin tony at lavanauts.org
Fri Apr 11 12:00:02 UTC 2014


>Number:         188455
>Category:       misc
>Synopsis:       openssl bn.h generates error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 11 12:00:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Antonio Querubin
>Release:        10.0-RELEASE-p1
>Organization:
>Environment:
FreeBSD fbsd-dev 10.0-RELEASE-p1 FreeBSD 10.0-RELEASE-p1 #0: Tue Apr  8 06:45:06 UTC 2014     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Including <openssl/ssl.h> generates the following error:

In file included from /usr/include/openssl/asn1.h:74,
                 from /usr/include/openssl/objects.h:960,
                 from /usr/include/openssl/evp.h:98,
                 from /usr/include/openssl/x509.h:73,
                 from /usr/include/openssl/ssl.h:183,
                 from test.c:1:
/usr/include/openssl/bn.h:603: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token

>How-To-Repeat:
Compile the following program using gcc.

#include <openssl/ssl.h>
int main() {
  exit(0);
}

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list