From nobody@FreeBSD.org  Fri Apr 11 11:57:59 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 5D56A2CA
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 11 Apr 2014 11:57:59 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id 4A5ED1D19
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 11 Apr 2014 11:57:59 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s3BBvwRP067453
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 11 Apr 2014 11:57:58 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s3BBvw86067452;
	Fri, 11 Apr 2014 11:57:58 GMT
	(envelope-from nobody)
Message-Id: <201404111157.s3BBvw86067452@cgiserv.freebsd.org>
Date: Fri, 11 Apr 2014 11:57:58 GMT
From: Antonio Querubin <tony@lavanauts.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: openssl bn.h generates error
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         188455
>Category:       kern
>Synopsis:       [headers] 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:  Sun Apr 20 22:13:00 UTC 2014
>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@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:
