Handle underlaying mech not returning mn.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21239 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-06-20 11:23:13 +00:00
parent ec665dc470
commit c68e3696e2

View File

@@ -950,7 +950,7 @@ acceptor_continue
}
if (ret == GSS_S_COMPLETE) {
if (src_name != NULL) {
if (src_name != NULL && ctx->mech_src_name != NULL) {
ret2 = gss_duplicate_name(minor_status,
ctx->mech_src_name,
src_name);