gss-client.c: GSS_C_NO_CONTEXT

Frank Balluffi frank.balluffi at db.com
Tue Apr 30 14:04:01 EDT 2002


gss-client.c checks for == GSS_C_NO_CONTEXT before calling gss_delete_sec_context:

            if (*gss_context == GSS_C_NO_CONTEXT)
                  gss_delete_sec_context(&min_stat, gss_context,
                                   GSS_C_NO_BUFFER);

whereas RFC 2744 checks or != GSS_C_NO_CONTEXT:

       if (context_hdl != GSS_C_NO_CONTEXT)
         gss_delete_sec_context(&min_stat,
                                &context_hdl,
                                GSS_C_NO_BUFFER);

Is gss-client.c wrong? Thanks.

Frank


--

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.





More information about the krbdev mailing list