#ifndef LINT
-static const char rcsid[] = "$Header: /u0/home/explorer/proj/ISC/git-conversion/cvsroot/bind9/lib/bind/dst/Attic/dst_api.c,v 1.1 2001/03/29 06:31:31 marka Exp $";
+static const char rcsid[] = "$Header: /u0/home/explorer/proj/ISC/git-conversion/cvsroot/bind9/lib/bind/dst/Attic/dst_api.c,v 1.2 2001/04/02 09:42:20 marka Exp $";
#endif
/*
enckey[--len] = '\0';
/* remove leading spaces */
- for (notspace = (char *) enckey; isspace(*notspace); len--)
+ for (notspace = (char *) enckey; isspace((*notspace)&0xff); len--)
notspace++;
dlen = b64_pton(notspace, deckey, sizeof(deckey));
*/
#ifndef lint
-static const char rcsid[] = "$Id: ns_date.c,v 1.1 2001/03/29 06:31:56 marka Exp $";
+static const char rcsid[] = "$Id: ns_date.c,v 1.2 2001/04/02 09:41:33 marka Exp $";
#endif
/* Import. */
int i;
for (i = 0; i < size; i++) {
- if (!isdigit(buf[i]))
+ if (!isdigit(buf[i]&0xff))
*errp = 1;
result = (result * 10) + buf[i] - '0';
}
*/
#ifndef lint
-static const char rcsid[] = "$Id: ns_name.c,v 1.1 2001/03/29 06:31:56 marka Exp $";
+static const char rcsid[] = "$Id: ns_name.c,v 1.2 2001/04/02 09:40:56 marka Exp $";
#endif
#include "port_before.h"
break;
default:
if (afterslash) {
- if (!isdigit(c))
+ if (!isdigit(c&0xff))
return(EINVAL);
if (beg_blen == NULL) {
beg_blen = cp;
}
} else {
- if (!isxdigit(c))
+ if (!isxdigit(c&0xff))
return(EINVAL);
value <<= 4;
value += digitvalue[(int)c];