mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
update copyright notice
This commit is contained in:
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: dighost.c,v 1.325 2009/09/15 03:13:43 each Exp $ */
|
/* $Id: dighost.c,v 1.326 2009/09/15 23:48:09 tbox Exp $ */
|
||||||
|
|
||||||
/*! \file
|
/*! \file
|
||||||
* \note
|
* \note
|
||||||
@@ -964,14 +964,14 @@ parse_uint(isc_uint32_t *uip, const char *value, isc_uint32_t max,
|
|||||||
|
|
||||||
static isc_uint32_t
|
static isc_uint32_t
|
||||||
parse_bits(char *arg, const char *desc, isc_uint32_t max) {
|
parse_bits(char *arg, const char *desc, isc_uint32_t max) {
|
||||||
isc_result_t result;
|
isc_result_t result;
|
||||||
isc_uint32_t tmp;
|
isc_uint32_t tmp;
|
||||||
|
|
||||||
result = parse_uint(&tmp, arg, max, desc);
|
result = parse_uint(&tmp, arg, max, desc);
|
||||||
if (result != ISC_R_SUCCESS)
|
if (result != ISC_R_SUCCESS)
|
||||||
fatal("couldn't parse digest bits");
|
fatal("couldn't parse digest bits");
|
||||||
tmp = (tmp + 7) & ~0x7U;
|
tmp = (tmp + 7) & ~0x7U;
|
||||||
return (tmp);
|
return (tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -986,7 +986,7 @@ parse_hmac(const char *hmac) {
|
|||||||
REQUIRE(hmac != NULL);
|
REQUIRE(hmac != NULL);
|
||||||
|
|
||||||
len = strlen(hmac);
|
len = strlen(hmac);
|
||||||
if (len >= (int) sizeof(buf))
|
if (len >= (int) sizeof(buf))
|
||||||
fatal("unknown key type '%.*s'", len, hmac);
|
fatal("unknown key type '%.*s'", len, hmac);
|
||||||
strncpy(buf, hmac, sizeof(buf));
|
strncpy(buf, hmac, sizeof(buf));
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2000-2003 Internet Software Consortium.
|
* Copyright (C) 2000-2003 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: dig.h,v 1.109 2009/09/15 03:13:44 each Exp $ */
|
/* $Id: dig.h,v 1.110 2009/09/15 23:48:09 tbox Exp $ */
|
||||||
|
|
||||||
#ifndef DIG_H
|
#ifndef DIG_H
|
||||||
#define DIG_H
|
#define DIG_H
|
||||||
|
Reference in New Issue
Block a user