From idart@performancedesign.no  Sun Jul 20 18:19:06 2003
Return-Path: <idart@performancedesign.no>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 44B8637B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 20 Jul 2003 18:19:06 -0700 (PDT)
Received: from mail.performancedesign.no (a217-118-41-78.bluecom.no [217.118.41.78])
	by mx1.FreeBSD.org (Postfix) with ESMTP id A093F43F85
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 20 Jul 2003 18:19:04 -0700 (PDT)
	(envelope-from idart@performancedesign.no)
Received: by mail.performancedesign.no (Postfix, from userid 1000)
	id 7441D20B7A; Mon, 21 Jul 2003 03:16:22 +0200 (CEST)
Message-Id: <20030721011622.7441D20B7A@mail.performancedesign.no>
Date: Mon, 21 Jul 2003 03:16:22 +0200 (CEST)
From: idart@performancedesign.no
Reply-To: idart@performancedesign.no
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: OpenSSL's ui.h contains non-strict function prototype
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         54684
>Category:       bin
>Synopsis:       OpenSSL's ui.h contains non-strict function prototype
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 20 18:20:11 PDT 2003
>Closed-Date:    Mon Jul 21 17:44:00 PDT 2003
>Last-Modified:  Mon Jul 21 17:44:00 PDT 2003
>Originator:     Idar Tollefsen
>Release:        FreeBSD 4.7-STABLE alpha
>Organization:
Performance Design
>Environment:
System: FreeBSD blackbird.performancedesign.no 4.7-STABLE FreeBSD 4.7-STABLE #5: Sun Feb 16 03:09:15 CET 2003 idart@blackbird.performancedesign.no:/usr/obj/usr/src/sys/BLACKBIRD alpha
>Description:
	src/crypto/openssl/crypto/ui/ui.h line 220:
	int UI_ctrl(UI *ui, int cmd, long i, void *p, void (*f)());
	gives a warning when compiled with -Wstrict-prototypes and, of course,
	fails when compiled with -Werror. This causes buildworld to fail if it
	uses those two options while compiling src/secure/lib/libtelnet.
>How-To-Repeat:
	make buildworld with -Wstrict-prototypes and -Werror. Make sure NOSECURE
	(and possibly NO_OPENSSL) isn't set to true in make.conf.
>Fix:
	Change line 220 in src/crypto/openssl/crypto/ui/ui.h from
	int UI_ctrl(UI *ui, int cmd, long i, void *p, void (*f)());
	to
	int UI_ctrl(UI *ui, int cmd, long i, void *p, void (*f)(void));
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Mon Jul 21 17:43:34 PDT 2003 
State-Changed-Why:  
Please report this bug to the OpenSSL developers instead. 
FreeBSD does not separately maintain OpenSSL. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54684 
>Unformatted:
