type correctness
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6728 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -81,7 +81,7 @@ cleanup:
|
|||||||
static krb5_error_code
|
static krb5_error_code
|
||||||
decrypt_tkt (krb5_context context,
|
decrypt_tkt (krb5_context context,
|
||||||
krb5_keyblock *key,
|
krb5_keyblock *key,
|
||||||
unsigned usage,
|
krb5_key_usage usage,
|
||||||
krb5_const_pointer decrypt_arg,
|
krb5_const_pointer decrypt_arg,
|
||||||
krb5_kdc_rep *dec_rep)
|
krb5_kdc_rep *dec_rep)
|
||||||
{
|
{
|
||||||
@@ -304,12 +304,12 @@ make_pa_enc_timestamp(krb5_context context, PA_DATA *pa,
|
|||||||
EncryptedData encdata;
|
EncryptedData encdata;
|
||||||
krb5_error_code ret;
|
krb5_error_code ret;
|
||||||
int32_t sec, usec;
|
int32_t sec, usec;
|
||||||
unsigned usec2;
|
int usec2;
|
||||||
krb5_crypto crypto;
|
krb5_crypto crypto;
|
||||||
|
|
||||||
krb5_us_timeofday (context, &sec, &usec);
|
krb5_us_timeofday (context, &sec, &usec);
|
||||||
p.patimestamp = sec;
|
p.patimestamp = sec;
|
||||||
usec2 = usec;
|
usec2 = usec;
|
||||||
p.pausec = &usec2;
|
p.pausec = &usec2;
|
||||||
|
|
||||||
ret = encode_PA_ENC_TS_ENC(buf + sizeof(buf) - 1,
|
ret = encode_PA_ENC_TS_ENC(buf + sizeof(buf) - 1,
|
||||||
|
Reference in New Issue
Block a user