Skip to content

Commit

Permalink
We shouldn't cast client_time to (intmax_t) because it is a char * not
Browse files Browse the repository at this point in the history
an integer.
  • Loading branch information
elric1 committed Aug 16, 2011
1 parent a31a322 commit f4451b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crypto/external/bsd/heimdal/dist/kdc/kerberos5.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* $NetBSD: kerberos5.c,v 1.2 2011/08/15 21:00:49 christos Exp $ */
/* $NetBSD: kerberos5.c,v 1.3 2011/08/16 01:14:57 elric Exp $ */

/*
* Copyright (c) 1997-2007 Kungliga Tekniska Högskolan
Expand Down Expand Up @@ -1266,7 +1266,7 @@ _kdc_as_rep(krb5_context context,
kdc_log(context, config, 0,
"Too large time skew, "
"client time %s is out by %jd > %jd seconds -- %s",
(intmax_t)client_time,
client_time,
imaxabs(kdc_time - p.patimestamp),
context->max_skew,
client_name);
Expand Down

0 comments on commit f4451b4

Please sign in to comment.