From 9db2f5eb745287654117e70032d05dd9f5a91a3f Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 16 Aug 2007 21:58:35 +0000 Subject: [PATCH] (krb5_gss_internal_release_oid): Always clear *minor_status git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19830 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/gssapi/krb5/rel_oid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/gssapi/krb5/rel_oid.c b/src/lib/gssapi/krb5/rel_oid.c index 21408b5d6..7e45781ef 100644 --- a/src/lib/gssapi/krb5/rel_oid.c +++ b/src/lib/gssapi/krb5/rel_oid.c @@ -1,7 +1,7 @@ /* * lib/gssapi/krb5/rel_oid.c * - * Copyright 1995 by the Massachusetts Institute of Technology. + * Copyright 1995, 2007 by the Massachusetts Institute of Technology. * All Rights Reserved. * * Export of this software from the United States of America may @@ -69,6 +69,7 @@ krb5_gss_internal_release_oid(minor_status, oid) * return GSS_S_CONTINUE_NEEDED for any OIDs it does not recognize. */ + *minor_status = 0; if ((*oid != gss_mech_krb5) && (*oid != gss_mech_krb5_old) && (*oid != gss_mech_krb5_wrong) && @@ -79,7 +80,6 @@ krb5_gss_internal_release_oid(minor_status, oid) } else { *oid = GSS_C_NO_OID; - *minor_status = 0; return(GSS_S_COMPLETE); } } -- 2.26.2