/*
- * Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: client.c,v 1.270 2011/01/10 05:32:03 marka Exp $ */
+/* $Id: client.c,v 1.271 2011/01/11 23:47:12 tbox Exp $ */
#include <config.h>
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: server.c,v 1.596 2011/01/10 05:32:03 marka Exp $ */
+/* $Id: server.c,v 1.597 2011/01/11 23:47:12 tbox Exp $ */
/*! \file */
dns_view_setdynamickeyring(view, ring);
dns_tsigkeyring_detach(&ring);
dns_view_detach(&pview);
- } else
+ } else
dns_view_restorekeyring(view);
/*
/*
- * Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2007, 2009, 2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: tsigconf.c,v 1.34 2011/01/10 05:32:03 marka Exp $ */
+/* $Id: tsigconf.c,v 1.35 2011/01/11 23:47:12 tbox Exp $ */
/*! \file */
-# Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2003 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
-# $Id: Makefile.in,v 1.143 2011/01/11 21:36:22 mgraff Exp $
+# $Id: Makefile.in,v 1.144 2011/01/11 23:47:12 tbox Exp $
srcdir = @srcdir@
VPATH = @srcdir@
-# Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
-# Copyright (C) 1999-2002 Internet Software Consortium.
+# Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC")
#
-# Permission to use, copy, modify, and distribute this software for any
+# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
-# $Id: Makefile.in,v 1.1 2011/01/11 21:40:35 mgraff Exp $
+# $Id: Makefile.in,v 1.2 2011/01/11 23:47:12 tbox Exp $
srcdir = @srcdir@
VPATH = @srcdir@
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: t_atomic.c,v 1.1 2011/01/11 21:36:22 mgraff Exp $ */
+/* $Id: t_atomic.c,v 1.2 2011/01/11 23:47:12 tbox Exp $ */
#include <config.h>
do_xadd(isc_task_t *task, isc_event_t *ev) {
counter_t *state = (counter_t *)ev->ev_arg;
int i;
-
+
for (i = 0 ; i < COUNTS_PER_ITERATION ; i++) {
isc_atomic_xadd(&counter_32, 1);
}
"ensure that isc_atomic_xadd() works.");
setup();
-
+
memset(counters, 0, sizeof(counters));
counter_32 = 0;
-
+
/*
* Create our tasks, and allocate an event to get the counters going.
*/
tasks[i] = NULL;
CHECK(isc_task_create(task_manager, 0, &tasks[i]));
event = isc_event_allocate(mctx, NULL, 1000, do_xadd,
- &counters[i], sizeof(struct isc_event));
+ &counters[i], sizeof(struct isc_event));
isc_task_sendanddetach(&tasks[i], &event);
}
if (counter_32 != EXPECTED_COUNT_32)
test_result = T_FAIL;
t_result(test_result);
-
+
counter_32 = 0;
}
#endif
do_xaddq(isc_task_t *task, isc_event_t *ev) {
counter_t *state = (counter_t *)ev->ev_arg;
int i;
-
+
for (i = 0 ; i < COUNTS_PER_ITERATION ; i++) {
isc_atomic_xaddq(&counter_64, INCREMENT_64);
}
"ensure that isc_atomic_xaddq() works.");
setup();
-
+
memset(counters, 0, sizeof(counters));
counter_64 = 0;
-
+
/*
* Create our tasks, and allocate an event to get the counters going.
*/
tasks[i] = NULL;
CHECK(isc_task_create(task_manager, 0, &tasks[i]));
event = isc_event_allocate(mctx, NULL, 1000, do_xaddq,
- &counters[i], sizeof(struct isc_event));
+ &counters[i], sizeof(struct isc_event));
isc_task_sendanddetach(&tasks[i], &event);
}
if (counter_64 != EXPECTED_COUNT_64)
test_result = T_FAIL;
t_result(test_result);
-
+
counter_64 = 0;
}
#endif
#!/bin/sh
#
-# Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2010, 2011 Internet Systems Consortium, Inc. ("ISC")
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
-# $Id: tests.sh,v 1.4 2011/01/10 05:08:49 marka Exp $
+# $Id: tests.sh,v 1.5 2011/01/11 23:47:12 tbox Exp $
SYSTEMTESTTOP=..
. $SYSTEMTESTTOP/conf.sh
/*
- * Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2009, 2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: keycreate.c,v 1.19 2011/01/10 13:09:49 marka Exp $ */
+/* $Id: keycreate.c,v 1.20 2011/01/11 23:47:13 tbox Exp $ */
#include <config.h>
/*
- * Copyright (C) 2004, 2005, 2007, 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2009-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: keydelete.c,v 1.17 2011/01/10 13:09:49 marka Exp $ */
+/* $Id: keydelete.c,v 1.18 2011/01/11 23:47:13 tbox Exp $ */
#include <config.h>
-# Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
# Copyright (C) 1998-2003 Internet Software Consortium.
#
# Permission to use, copy, modify, and/or distribute this software for any
esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl
-AC_REVISION($Revision: 1.510 $)
+AC_REVISION($Revision: 1.511 $)
AC_INIT(lib/dns/name.c)
AC_PREREQ(2.59)
/*
- * Portions Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
+ * Portions Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
/*
* Principal Author: Brian Wellington
- * $Id: dst_api.c,v 1.56 2011/01/10 05:32:03 marka Exp $
+ * $Id: dst_api.c,v 1.57 2011/01/11 23:47:13 tbox Exp $
*/
/*! \file */
isc_result_t result;
dst_key_t *key;
- REQUIRE(dst_initialized == ISC_TRUE);
- REQUIRE(keyp != NULL && *keyp == NULL);
+ REQUIRE(dst_initialized == ISC_TRUE);
+ REQUIRE(keyp != NULL && *keyp == NULL);
- if (alg >= DST_MAX_ALGS || dst_t_func[alg] == NULL)
- return (DST_R_UNSUPPORTEDALG);
+ if (alg >= DST_MAX_ALGS || dst_t_func[alg] == NULL)
+ return (DST_R_UNSUPPORTEDALG);
if (dst_t_func[alg]->restore == NULL)
return (ISC_R_NOTIMPLEMENTED);
/*
- * Portions Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
+ * Portions Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 2000-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dst_internal.h,v 1.28 2011/01/10 05:32:03 marka Exp $ */
+/* $Id: dst_internal.h,v 1.29 2011/01/11 23:47:13 tbox Exp $ */
#ifndef DST_DST_INTERNAL_H
#define DST_DST_INTERNAL_H 1
/*
- * Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2009, 2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
*/
/*
- * $Id: gssapi_link.c,v 1.15 2011/01/10 05:32:03 marka Exp $
+ * $Id: gssapi_link.c,v 1.16 2011/01/11 23:47:13 tbox Exp $
*/
#include <config.h>
/*
- * Portions Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
+ * Portions Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
/*
* Principal Author: Brian Wellington
- * $Id: hmac_link.c,v 1.18 2011/01/10 05:32:03 marka Exp $
+ * $Id: hmac_link.c,v 1.19 2011/01/11 23:47:13 tbox Exp $
*/
#include <config.h>
/*
- * Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1998-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: result.h,v 1.121 2011/01/10 05:32:03 marka Exp $ */
+/* $Id: result.h,v 1.122 2011/01/11 23:47:13 tbox Exp $ */
#ifndef DNS_RESULT_H
#define DNS_RESULT_H 1
/*
- * Copyright (C) 2004-2007, 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2007, 2009-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: tsig.h,v 1.58 2011/01/10 05:32:04 marka Exp $ */
+/* $Id: tsig.h,v 1.59 2011/01/11 23:47:13 tbox Exp $ */
#ifndef DNS_TSIG_H
#define DNS_TSIG_H 1
/*
- * Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: view.h,v 1.130 2011/01/10 05:32:04 marka Exp $ */
+/* $Id: view.h,v 1.131 2011/01/11 23:47:13 tbox Exp $ */
#ifndef DNS_VIEW_H
#define DNS_VIEW_H 1
/*
- * Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: dst.h,v 1.30 2011/01/10 05:32:04 marka Exp $ */
+/* $Id: dst.h,v 1.31 2011/01/11 23:47:14 tbox Exp $ */
#ifndef DST_DST_H
#define DST_DST_H 1
isc_result_t
dst_key_restore(dns_name_t *name, unsigned int alg, unsigned int flags,
- unsigned int protocol, dns_rdataclass_t rdclass,
- isc_mem_t *mctx, const char *keystr, dst_key_t **keyp);
+ unsigned int protocol, dns_rdataclass_t rdclass,
+ isc_mem_t *mctx, const char *keystr, dst_key_t **keyp);
ISC_LANG_ENDDECLS
/*
- * Portions Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
+ * Portions Copyright (C) 2004-2009, 2011 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
/*
* Principal Author: Brian Wellington
- * $Id: openssldh_link.c,v 1.19 2011/01/10 05:32:03 marka Exp $
+ * $Id: openssldh_link.c,v 1.20 2011/01/11 23:47:13 tbox Exp $
*/
#ifdef OPENSSL
/*
- * Portions Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
+ * Portions Copyright (C) 2004-2009, 2011 Internet Systems Consortium, Inc. ("ISC")
* Portions Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: openssldsa_link.c,v 1.19 2011/01/10 05:32:03 marka Exp $ */
+/* $Id: openssldsa_link.c,v 1.20 2011/01/11 23:47:13 tbox Exp $ */
#ifdef OPENSSL
#ifndef USE_EVP
/*
- * Copyright (C) 2004-2009 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2009, 2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
/*
* Principal Author: Brian Wellington
- * $Id: opensslrsa_link.c,v 1.38 2011/01/10 05:32:03 marka Exp $
+ * $Id: opensslrsa_link.c,v 1.39 2011/01/11 23:47:13 tbox Exp $
*/
#ifdef OPENSSL
#include <config.h>
/*
- * Copyright (C) 2004, 2005, 2007-2010 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1998-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: result.c,v 1.131 2011/01/10 05:32:03 marka Exp $ */
+/* $Id: result.c,v 1.132 2011/01/11 23:47:13 tbox Exp $ */
/*! \file */
/*
- * Copyright (C) 2006-2010 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2006-2011 Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: spnego.c,v 1.15 2011/01/10 05:32:03 marka Exp $ */
+/* $Id: spnego.c,v 1.16 2011/01/11 23:47:13 tbox Exp $ */
/*! \file
* \brief
/*
- * Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
*/
/*
- * $Id: tsig.c,v 1.146 2011/01/10 07:38:22 marka Exp $
+ * $Id: tsig.c,v 1.147 2011/01/11 23:47:13 tbox Exp $
*/
/*! \file */
#include <config.h>
} else if (dns_name_equal(algorithm, DNS_TSIG_HMACSHA512_NAME)) {
return (DST_ALG_HMACSHA512);
} else if (dns_name_equal(algorithm, DNS_TSIG_GSSAPI_NAME)) {
- return (DST_ALG_GSSAPI);
+ return (DST_ALG_GSSAPI);
} else if (dns_name_equal(algorithm, DNS_TSIG_GSSAPIMS_NAME)) {
return (DST_ALG_GSSAPI);
} else
{
char *buffer = NULL;
int length = 0;
- char namestr[DNS_NAME_FORMATSIZE];
- char creatorstr[DNS_NAME_FORMATSIZE];
- char algorithmstr[DNS_NAME_FORMATSIZE];
+ char namestr[DNS_NAME_FORMATSIZE];
+ char creatorstr[DNS_NAME_FORMATSIZE];
+ char algorithmstr[DNS_NAME_FORMATSIZE];
isc_result_t result;
dns_name_format(&tkey->name, namestr, sizeof(namestr));
/*
- * Copyright (C) 2004-2010 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 1999-2003 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: view.c,v 1.175 2011/01/10 05:32:03 marka Exp $ */
+/* $Id: view.c,v 1.176 2011/01/11 23:47:13 tbox Exp $ */
/*! \file */
if (result == ISC_R_SUCCESS) {
if (fclose(fp) == 0)
result = isc_file_rename(template,
- keyfile);
+ keyfile);
if (result != ISC_R_SUCCESS)
(void)remove(template);
} else {
/*
- * Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2007, 2009, 2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: file.h,v 1.38 2011/01/10 05:32:04 marka Exp $ */
+/* $Id: file.h,v 1.39 2011/01/11 23:47:14 tbox Exp $ */
#ifndef ISC_FILE_H
#define ISC_FILE_H 1
/*
- * Copyright (C) 2004, 2005, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2009, 2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* SUCH DAMAGE.
*/
-/* $Id: file.c,v 1.56 2011/01/10 05:32:04 marka Exp $ */
+/* $Id: file.c,v 1.57 2011/01/11 23:47:14 tbox Exp $ */
/*! \file */
/*
- * Copyright (C) 2004, 2007, 2009 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2007, 2009, 2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: file.c,v 1.36 2011/01/10 05:32:04 marka Exp $ */
+/* $Id: file.c,v 1.37 2011/01/11 23:47:14 tbox Exp $ */
#include <config.h>
if (fd == -1)
result = isc__errno2result(errno);
if (result == ISC_R_SUCCESS) {
-#if 1
+#if 1
UNUSED(mode)
#else
(void)fchmod(fd, mode);