(tgs_build_reply): check if krb5_generate_random_keyblock failes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19685 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1697,7 +1697,9 @@ server_lookup:
|
|||||||
kvno = server->entry.kvno;
|
kvno = server->entry.kvno;
|
||||||
}
|
}
|
||||||
|
|
||||||
krb5_generate_random_keyblock(context, etype, &sessionkey);
|
ret = krb5_generate_random_keyblock(context, etype, &sessionkey);
|
||||||
|
if (ret)
|
||||||
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* check PAC if there is one */
|
/* check PAC if there is one */
|
||||||
|
Reference in New Issue
Block a user