[Heimdal-source-changes] [heimdal/heimdal] 419911: gss: fix gss_decapsulate_token() return codes

Luke Howard noreply at github.com
Fre Apr 17 03:12:45 CEST 2020


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: 4199118c7670ebe8604b4b839850fa7e08a4077f
      https://github.com/heimdal/heimdal/commit/4199118c7670ebe8604b4b839850fa7e08a4077f
  Author: Luke Howard <lukeh at padl.com>
  Date:   2020-04-17 (Fri, 17 Apr 2020)

  Changed paths:
    M lib/gssapi/mech/gss_decapsulate_token.c

  Log Message:
  -----------
  gss: fix gss_decapsulate_token() return codes

gss_decapsulate_token() should return GSS_S_BAD_MECH if the mechanism did not
match the expected one, and GSS_S_DEFECTIVE_TOKEN if the token could not be
parsed for some other reason, rather than GSS_S_FAILURE in both cases




More information about the Heimdal-source-changes mailing list