generate a random nonce.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2209 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -189,7 +189,7 @@ krb5_get_in_tkt(krb5_context context,
|
||||
#endif
|
||||
|
||||
a.req_body.till = creds->times.endtime;
|
||||
a.req_body.nonce = 17; /* XXX */
|
||||
krb5_generate_random_block (&a.req_body.nonce, sizeof(a.req_body.nonce));
|
||||
if (etypes)
|
||||
abort ();
|
||||
else {
|
||||
|
Reference in New Issue
Block a user