krb5: use new krb5_time_abs() function
From Apple Heimdal-597.121.1: replace calls to labs() with krb5_time_abs()
This commit is contained in:
		| @@ -136,7 +136,7 @@ krb5_rd_priv(krb5_context context, | ||||
| 	krb5_timeofday (context, &sec); | ||||
| 	if (part.timestamp == NULL || | ||||
| 	    part.usec      == NULL || | ||||
| 	    labs(*part.timestamp - sec) > context->max_skew) { | ||||
| 	    krb5_time_abs(*part.timestamp, sec) > context->max_skew) { | ||||
| 	    krb5_clear_error_message (context); | ||||
| 	    ret = KRB5KRB_AP_ERR_SKEW; | ||||
| 	    goto failure_part; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Luke Howard
					Luke Howard