(make_pa_enc_timestamp): make sure first argument to krb5_us_timeofday

have correct type


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12211 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2003-05-06 05:45:46 +00:00
parent 1d692e2b6e
commit 0bfbd66582

View File

@@ -310,12 +310,11 @@ make_pa_enc_timestamp(krb5_context context, PA_DATA *pa,
size_t len;
EncryptedData encdata;
krb5_error_code ret;
int32_t sec, usec;
int32_t usec;
int usec2;
krb5_crypto crypto;
krb5_us_timeofday (context, &sec, &usec);
p.patimestamp = sec;
krb5_us_timeofday (context, &p.patimestamp, &usec);
usec2 = usec;
p.pausec = &usec2;