Mask nonce to 32 bits.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3093 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -195,6 +195,7 @@ get_cred_kdc(krb5_context context, krb5_ccache id, krb5_kdc_flags flags,
|
||||
size_t len;
|
||||
|
||||
krb5_generate_random_block(&nonce, sizeof(nonce));
|
||||
nonce &= 0xffffffff;
|
||||
|
||||
ret = init_tgs_req (context,
|
||||
id,
|
||||
|
Reference in New Issue
Block a user