[Heimdal-source-changes] [heimdal/heimdal] d6a7d1: Workaround bugs exposed by test_context changes

GitHub noreply at github.com
Fre Apr 17 01:47:41 CEST 2015


  Branch: refs/heads/master
  Home:   https://github.com/heimdal/heimdal
  Commit: d6a7d14fc59d5867fedab67a75afd79bdb14cc26
      https://github.com/heimdal/heimdal/commit/d6a7d14fc59d5867fedab67a75afd79bdb14cc26
  Author: Nicolas Williams <nico at cryptonector.com>
  Date:   2015-04-16 (Thu, 16 Apr 2015)

  Changed paths:
    M lib/gssapi/test_context.c
    M tests/gss/check-ntlm.in
    M tests/gss/check-spnego.in

  Log Message:
  -----------
  Workaround bugs exposed by test_context changes

Bugs exposed by 61720a0:

 - test_context --client-name=... --mech-type=ntlm ... fails;

 - gss_acquire_cred() with desired_mech=NTLM and
   desired_name==GSS_C_NO_NAME fails;

 - gss_init_sec_context() with non-default cred handle calls the
   mechanism even when the given cred handle has no element for the
   requencet mechanism.

tests/gss/check-ntlm works by accident: gss_acquire_cred() with
desired_mechs==GSS_C_NO_OID_SET succeeds mostly because there are
Kerberos credentials available, and then the subsequent
gss_init_sec_context() call works because of the third bug described
above.




More information about the Heimdal-source-changes mailing list