From owner-cvs-src-old@FreeBSD.ORG Sun Jun 14 17:34:02 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D7CA106578F for ; Sun, 14 Jun 2009 17:34:02 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1A4C08FC13 for ; Sun, 14 Jun 2009 17:34:02 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n5EHY1E0052970 for ; Sun, 14 Jun 2009 17:34:01 GMT (envelope-from rmacklem@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n5EHY17r052969 for cvs-src-old@freebsd.org; Sun, 14 Jun 2009 17:34:01 GMT (envelope-from rmacklem@repoman.freebsd.org) Message-Id: <200906141734.n5EHY17r052969@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to rmacklem@repoman.freebsd.org using -f From: Rick Macklem Date: Sun, 14 Jun 2009 17:33:46 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kgssapi/krb5 krb5_mech.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Jun 2009 17:34:02 -0000 rmacklem 2009-06-14 17:33:46 UTC FreeBSD src repository Modified files: sys/kgssapi/krb5 krb5_mech.c Log: SVN rev 194202 on 2009-06-14 17:33:46Z by rmacklem When the KOBJMETHOD() macro was updated, it resulted in the compiler doing argument type checking. Since the prototypes in kgss_if.h used the generic gss_ctx_id_t for the context argument, but the functions in sys/kgssapi/krb5/krb5_mech.c used the KerberosV specific context argument, the file would no longer build. This patch fixes it so it will build by replacing the argument with a gss_ctx_id_t one and setting a local "struct krb5_context *" variable to it for use by the function. Reviewed by: dfr Approved by: kib (mentor) Revision Changes Path 1.2 +17 -9 src/sys/kgssapi/krb5/krb5_mech.c