From: J. Bruce Fields Date: Tue, 5 Dec 2006 01:22:40 +0000 (-0500) Subject: rpcgss: krb5: sanity check sealalg value in the downcall X-Git-Tag: v2.6.20-rc1~34^2~412^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d922a84a8bf1d627810906d033223d4fa629fdbf;p=pandora-kernel.git rpcgss: krb5: sanity check sealalg value in the downcall The sealalg is checked in several places, giving the impression it could be either SEAL_ALG_NONE or SEAL_ALG_DES. But in fact SEAL_ALG_NONE seems to be sufficient only for making mic's, and all the contexts we get must be capable of wrapping as well. So the sealalg must be SEAL_ALG_DES. As with signalg, just check for the right value on the downcall and ignore it otherwise. Similarly, tighten expectations for the sealalg on incoming tokens, in case we do support other values eventually. Signed-off-by: J. Bruce Fields Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed