Correct GSS major code for non-default QOP values
authorTomas Kuthan <tkuthan@gmail.com>
Wed, 30 Sep 2015 13:34:26 +0000 (15:34 +0200)
committerGreg Hudson <ghudson@mit.edu>
Wed, 30 Sep 2015 21:01:16 +0000 (17:01 -0400)
commit45ccc1c85f42e4f41f2042df8a51dd7826533029
tree420e065d5b1f7b66db1704c6b558a6e08331d6fa
parent95736f7d51cce7551c3c20450ff56831a71043df
Correct GSS major code for non-default QOP values

This patch fixes several krb5 mech error cases to comply with RFC
2743; non-default QOP arguments should result in GSS_S_BAD_QOP, not
GSS_S_FAILURE.

[ghudson@mit.edu: edit commit message]

ticket: 8258 (new)
target_version: 1.14
tags: pullup
src/lib/gssapi/krb5/k5seal.c
src/lib/gssapi/krb5/k5sealiov.c
src/lib/gssapi/krb5/wrap_size_limit.c