table 3.
[ISC-Bugs #38769]
+- Some compilers don't like the use of abs in minires/ns_verify.c,
+ change it to labs to make them happy.
+ [ISC-Bugs #39301]
+
Changes since 4.1-ESV-R11rc2
- None
/*
- * Copyright (c) 2013-2014 by Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (c) 2013-2015 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 2004,2007,2009 by Internet Systems Consortium, Inc. ("ISC")
* Copyright (c) 1999-2003 by Internet Software Consortium
*
hp->arcount = htons(ntohs(hp->arcount) + 1);
/* Verify the time. */
- if (abs((*timesigned) - time(NULL)) > fudge)
+ if (labs((*timesigned) - time(NULL)) > fudge)
return ISC_R_BADTIME;
if (nostrip == 0) {
state->siglen = sigfieldlen;
/* Verify the time. */
- if (abs(timesigned - time(NULL)) > fudge)
+ if (labs(timesigned - time(NULL)) > fudge)
return ISC_R_BADTIME;
*msglen = recstart - msg;