From bb426bb13ad31fbc0c1e4293dcefd9d457ee98dc Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Wed, 14 Feb 2018 19:28:13 +1100 Subject: [PATCH] use %u instead of %d --- lib/dns/dst_parse.c | 4 ++-- util/copyrights | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dns/dst_parse.c b/lib/dns/dst_parse.c index c984c4ca57..5b64142de5 100644 --- a/lib/dns/dst_parse.c +++ b/lib/dns/dst_parse.c @@ -1,5 +1,5 @@ /* - * Portions Copyright (C) 1999-2002, 2004-2017 Internet Systems Consortium, Inc. ("ISC") + * Portions Copyright (C) 1999-2002, 2004-2018 Internet Systems Consortium, Inc. ("ISC") * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this @@ -738,7 +738,7 @@ dst__privstruct_writefile(const dst_key_t *key, const dst_private_t *priv, /* XXXDCL return value should be checked for full filesystem */ fprintf(fp, "%s v%d.%d\n", PRIVATE_KEY_STR, major, minor); - fprintf(fp, "%s %d ", ALGORITHM_STR, dst_key_alg(key)); + fprintf(fp, "%s %u ", ALGORITHM_STR, dst_key_alg(key)); /* XXXVIX this switch statement is too sparse to gen a jump table. */ switch (dst_key_alg(key)) { diff --git a/util/copyrights b/util/copyrights index 130201a01b..6af7c77d34 100644 --- a/util/copyrights +++ b/util/copyrights @@ -3314,7 +3314,7 @@ ./lib/dns/dst_internal.h C.NAI 2000,2001,2002,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2016,2017 ./lib/dns/dst_lib.c C 1999,2000,2001,2004,2005,2007,2016 ./lib/dns/dst_openssl.h C 2002,2004,2005,2007,2008,2009,2011,2012,2015,2016 -./lib/dns/dst_parse.c C.NAI 1999,2000,2001,2002,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017 +./lib/dns/dst_parse.c C.NAI 1999,2000,2001,2002,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018 ./lib/dns/dst_parse.h C.NAI 2000,2001,2002,2004,2005,2006,2007,2008,2009,2010,2012,2014,2016,2017 ./lib/dns/dst_pkcs11.h C 2014,2016 ./lib/dns/dst_result.c C 1999,2000,2001,2004,2005,2007,2008,2012,2013,2014,2015,2016