From owner-freebsd-bugs@FreeBSD.ORG Sun Jul 20 18:20:13 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D54837B404 for ; Sun, 20 Jul 2003 18:20:13 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C80B343F3F for ; Sun, 20 Jul 2003 18:20:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6L1KBUp007912 for ; Sun, 20 Jul 2003 18:20:11 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6L1KBfw007911; Sun, 20 Jul 2003 18:20:11 -0700 (PDT) Resent-Date: Sun, 20 Jul 2003 18:20:11 -0700 (PDT) Resent-Message-Id: <200307210120.h6L1KBfw007911@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, 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 ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/54684: OpenSSL's ui.h contains non-strict function prototype X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: idart@performancedesign.no List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Jul 2003 01:20:13 -0000 >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: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jul 20 18:20:11 PDT 2003 >Closed-Date: >Last-Modified: >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: >Unformatted: