krb5_k_make_checksum will use the mandatory checksum type if 0 is
authorLuke Howard <lukeh@padl.com>
Thu, 9 Sep 2010 15:39:47 +0000 (15:39 +0000)
committerLuke Howard <lukeh@padl.com>
Thu, 9 Sep 2010 15:39:47 +0000 (15:39 +0000)
commitc766c773504c863467cee30543e06093093d6f1a
tree288641df7fbd945ad0501eaf13a8738f7fea5d30
parentb1a7985e4b3bbd76cf2f4c332fe100f0e3b2d801
krb5_k_make_checksum will use the mandatory checksum type if 0 is
passed in as the checksum type; however krb5_k_make_checksum_iov
does not support this. Add the same logic for the behaviour is
consistent.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24303 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/crypto/krb/make_checksum_iov.c