update copyright notice

This commit is contained in:
Automatic Updater 2010-08-10 23:48:19 +00:00
parent 93bd88e172
commit 548317f929
2 changed files with 10 additions and 10 deletions

View file

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: nsupdate.c,v 1.181 2010/08/10 09:51:47 marka Exp $ */
/* $Id: nsupdate.c,v 1.182 2010/08/10 23:48:19 tbox Exp $ */
/*! \file */
@ -490,14 +490,14 @@ parse_hmac(dns_name_t **hmac, const char *hmacstr, size_t len) {
static int
basenamelen(const char *file) {
int len = strlen(file);
int len = strlen(file);
if (len > 1 && file[len - 1] == '.')
len -= 1;
else if (len > 8 && strcmp(file + len - 8, ".private") == 0)
len -= 8;
else if (len > 4 && strcmp(file + len - 4, ".key") == 0)
len -= 4;
if (len > 1 && file[len - 1] == '.')
len -= 1;
else if (len > 8 && strcmp(file + len - 8, ".private") == 0)
len -= 8;
else if (len > 4 && strcmp(file + len - 4, ".key") == 0)
len -= 4;
return (len);
}

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2004-2007, 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: entropy.c,v 1.21 2010/08/10 09:32:06 marka Exp $ */
/* $Id: entropy.c,v 1.22 2010/08/10 23:48:19 tbox Exp $ */
/*! \file
* \brief