Allow anonymous name to be imported with empty name buffer
authorGreg Hudson <ghudson@mit.edu>
Wed, 6 Apr 2011 20:06:50 +0000 (20:06 +0000)
committerGreg Hudson <ghudson@mit.edu>
Wed, 6 Apr 2011 20:06:50 +0000 (20:06 +0000)
commit8b720c6a96ea21572adb9b73d23e7e8e99489bb9
tree19724c598d482175ca19a6f8867fa9cf4c4e7c9d
parentb438c1fc7ac5fa509e2c44054787875a20aedd6b
Allow anonymous name to be imported with empty name buffer

When importing a name of type GSS_C_NT_ANONYMOUS, allow the input name
buffer to be null or empty (null is translated into empty before
mechanisms see it).

From r24820 in users/lhoward/moonshot-mechglue-fixes.

ticket: 6896

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24852 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/gssapi/mechglue/g_imp_name.c