Date: Mon, 21 Jul 2003 03:16:22 +0200 (CEST) From: idart@performancedesign.no To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/54684: OpenSSL's ui.h contains non-strict function prototype Message-ID: <20030721011622.7441D20B7A@mail.performancedesign.no> Resent-Message-ID: <200307210120.h6L1KBfw007911@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030721011622.7441D20B7A>