diff options
Diffstat (limited to 'usr/src/lib/rpcsec_gss')
-rw-r--r-- | usr/src/lib/rpcsec_gss/svc_rpcsec_gss.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/usr/src/lib/rpcsec_gss/svc_rpcsec_gss.c b/usr/src/lib/rpcsec_gss/svc_rpcsec_gss.c index 38fd1efd81..4091e7cfdf 100644 --- a/usr/src/lib/rpcsec_gss/svc_rpcsec_gss.c +++ b/usr/src/lib/rpcsec_gss/svc_rpcsec_gss.c @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -19,9 +18,10 @@ * * CDDL HEADER END */ + /* - * Copyright 1995-2003 Sun Microsystems, Inc. - * All rights reserved. Use is subject to license terms. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Use is subject to license terms. */ #pragma ident "%Z%%M% %I% %E% SMI" @@ -600,8 +600,7 @@ __svcrpcsec_gss(rqst, msg, no_dispatch) */ cred = &msg->rm_call.cb_cred; if (cred->oa_length == 0) { - ret = AUTH_BADCRED; - goto error; + return (AUTH_BADCRED); } xdrmem_create(&xdrs, cred->oa_base, cred->oa_length, XDR_DECODE); |