Properly decode etype-info2 with no salt
authorGreg Hudson <ghudson@mit.edu>
Thu, 8 Mar 2012 00:37:47 +0000 (00:37 +0000)
committerGreg Hudson <ghudson@mit.edu>
Thu, 8 Mar 2012 00:37:47 +0000 (00:37 +0000)
commit9220e0c6eaac565f9241e09e0809f206b121eb2c
treebcce2be54b2c2088ac63817c54d4cca010944e62
parent37bc418a7b3572ad5e31706719949aab6783b936
Properly decode etype-info2 with no salt

The data-driven decoder for etype-info2 was neglecting to call
init_no_salt() when no salt is present in the encoding.  Add in the
missing call.  Also add decode test cases for etype-info2, which would
have caught this if they weren't missing.

ticket: 7100

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25744 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/asn.1/asn1_k_encode.c
src/tests/asn.1/krb5_decode_test.c