bin/54684: OpenSSL's ui.h contains non-strict function prototype
idart at performancedesign.no
idart at performancedesign.no
Sun Jul 20 18:20:13 PDT 2003
>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 at 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:
More information about the freebsd-bugs
mailing list