From owner-freebsd-bugs@FreeBSD.ORG Fri Oct 21 17:20:11 2011 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 824861065673 for ; Fri, 21 Oct 2011 17:20:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 45EF58FC1A for ; Fri, 21 Oct 2011 17:20:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p9LHKBjd083722 for ; Fri, 21 Oct 2011 17:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p9LHKBlg083721; Fri, 21 Oct 2011 17:20:11 GMT (envelope-from gnats) Resent-Date: Fri, 21 Oct 2011 17:20:11 GMT Resent-Message-Id: <201110211720.p9LHKBlg083721@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, Harry Coin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFACD106566C for ; Fri, 21 Oct 2011 17:19:24 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 9EEA48FC12 for ; Fri, 21 Oct 2011 17:19:24 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p9LHJOog027084 for ; Fri, 21 Oct 2011 17:19:24 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p9LHJOF2027082; Fri, 21 Oct 2011 17:19:24 GMT (envelope-from nobody) Message-Id: <201110211719.p9LHJOF2027082@red.freebsd.org> Date: Fri, 21 Oct 2011 17:19:24 GMT From: Harry Coin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/161886: der_xx_oid not declared before use in gss_krb5.c X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2011 17:20:11 -0000 >Number: 161886 >Category: kern >Synopsis: der_xx_oid not declared before use in gss_krb5.c >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 21 17:20:10 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Harry Coin >Release: 8Stable >Organization: Quiet Fountain LLC >Environment: amd64 >Description: You will see many complaints by the compiler that der_get_oid der_free_oid der_length_oid and der_put_oid are implicitly defined in gss_krb5.c. No check that the parameters in the call match what the procedure expects, nor are any decorations about the procedure's requirements taken into account. >How-To-Repeat: Do a make in /usr/src/kerberos5/lib/libgssapi_krb5, watch gss_krb5.c >Fix: Change the makefile: INCS= ${KRB5DIR}/lib/gssapi/gssapi/gssapi_krb5.h -INCSDIR= ${INCLUDEDIR}/gssapi +INCSDIR= ${INCLUDEDIR}/gssapi ${KRB5DIR}/lib/asn1 SRCS= 8003.c \ .. Change gss_krb5.c /* RCSID("$Id: gss_krb5.c 21889 2007-08-09 07:43:24Z lha $"); */ #include #include +#include >Release-Note: >Audit-Trail: >Unformatted: