mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
reserve -F
This commit is contained in:
parent
e7eede965d
commit
ddac1a2b98
2
CHANGES
2
CHANGES
@ -1,3 +1,5 @@
|
|||||||
|
2598. [func] Reserve the -F flag. [RT #19657]
|
||||||
|
|
||||||
2597. [bug] Handle a validation failure with a insecure delegation
|
2597. [bug] Handle a validation failure with a insecure delegation
|
||||||
from a NSEC3 signed master/slave zone. [RT #19464]
|
from a NSEC3 signed master/slave zone. [RT #19464]
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: dnssec-dsfromkey.c,v 1.5 2009/03/02 03:01:04 marka Exp $ */
|
/* $Id: dnssec-dsfromkey.c,v 1.6 2009/05/07 09:33:52 fdupont Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@ -267,7 +267,7 @@ main(int argc, char **argv) {
|
|||||||
isc_commandline_errprint = ISC_FALSE;
|
isc_commandline_errprint = ISC_FALSE;
|
||||||
|
|
||||||
while ((ch = isc_commandline_parse(argc, argv,
|
while ((ch = isc_commandline_parse(argc, argv,
|
||||||
"12a:c:d:sv:h")) != -1) {
|
"12a:c:d:sv:Fh")) != -1) {
|
||||||
switch (ch) {
|
switch (ch) {
|
||||||
case '1':
|
case '1':
|
||||||
dtype = DNS_DSDIGEST_SHA1;
|
dtype = DNS_DSDIGEST_SHA1;
|
||||||
@ -295,11 +295,14 @@ main(int argc, char **argv) {
|
|||||||
if (*endp != '\0')
|
if (*endp != '\0')
|
||||||
fatal("-v must be followed by a number");
|
fatal("-v must be followed by a number");
|
||||||
break;
|
break;
|
||||||
|
case 'F':
|
||||||
|
/* Reserved for FIPS mode */
|
||||||
|
/* FALLTHROUGH */
|
||||||
case '?':
|
case '?':
|
||||||
if (isc_commandline_option != '?')
|
if (isc_commandline_option != '?')
|
||||||
fprintf(stderr, "%s: invalid argument -%c\n",
|
fprintf(stderr, "%s: invalid argument -%c\n",
|
||||||
program, isc_commandline_option);
|
program, isc_commandline_option);
|
||||||
/* Falls into */
|
/* FALLTHROUGH */
|
||||||
case 'h':
|
case 'h':
|
||||||
usage();
|
usage();
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: dnssec-keyfromlabel.c,v 1.4 2008/09/24 02:46:21 marka Exp $ */
|
/* $Id: dnssec-keyfromlabel.c,v 1.5 2009/05/07 09:33:52 fdupont Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@ -113,7 +113,7 @@ main(int argc, char **argv) {
|
|||||||
isc_commandline_errprint = ISC_FALSE;
|
isc_commandline_errprint = ISC_FALSE;
|
||||||
|
|
||||||
while ((ch = isc_commandline_parse(argc, argv,
|
while ((ch = isc_commandline_parse(argc, argv,
|
||||||
"a:c:f:kl:n:p:t:v:h")) != -1)
|
"a:c:f:kl:n:p:t:v:Fh")) != -1)
|
||||||
{
|
{
|
||||||
switch (ch) {
|
switch (ch) {
|
||||||
case 'a':
|
case 'a':
|
||||||
@ -152,11 +152,14 @@ main(int argc, char **argv) {
|
|||||||
if (*endp != '\0')
|
if (*endp != '\0')
|
||||||
fatal("-v must be followed by a number");
|
fatal("-v must be followed by a number");
|
||||||
break;
|
break;
|
||||||
|
case 'F':
|
||||||
|
/* Reserved for FIPS mode */
|
||||||
|
/* FALLTHROUGH */
|
||||||
case '?':
|
case '?':
|
||||||
if (isc_commandline_option != '?')
|
if (isc_commandline_option != '?')
|
||||||
fprintf(stderr, "%s: invalid argument -%c\n",
|
fprintf(stderr, "%s: invalid argument -%c\n",
|
||||||
program, isc_commandline_option);
|
program, isc_commandline_option);
|
||||||
|
/* FALLTHROUGH */
|
||||||
case 'h':
|
case 'h':
|
||||||
usage();
|
usage();
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: dnssec-keygen.c,v 1.81 2008/09/25 04:02:38 tbox Exp $ */
|
/* $Id: dnssec-keygen.c,v 1.82 2009/05/07 09:33:52 fdupont Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@ -154,7 +154,7 @@ main(int argc, char **argv) {
|
|||||||
isc_commandline_errprint = ISC_FALSE;
|
isc_commandline_errprint = ISC_FALSE;
|
||||||
|
|
||||||
while ((ch = isc_commandline_parse(argc, argv,
|
while ((ch = isc_commandline_parse(argc, argv,
|
||||||
"a:b:c:d:ef:g:kn:t:p:s:r:v:h")) != -1)
|
"a:b:c:d:ef:g:kn:t:p:s:r:v:Fh")) != -1)
|
||||||
{
|
{
|
||||||
switch (ch) {
|
switch (ch) {
|
||||||
case 'a':
|
case 'a':
|
||||||
@ -220,11 +220,14 @@ main(int argc, char **argv) {
|
|||||||
if (*endp != '\0')
|
if (*endp != '\0')
|
||||||
fatal("-v must be followed by a number");
|
fatal("-v must be followed by a number");
|
||||||
break;
|
break;
|
||||||
|
case 'F':
|
||||||
|
/* Reserved for FIPS mode */
|
||||||
|
/* FALLTHROUGH */
|
||||||
case '?':
|
case '?':
|
||||||
if (isc_commandline_option != '?')
|
if (isc_commandline_option != '?')
|
||||||
fprintf(stderr, "%s: invalid argument -%c\n",
|
fprintf(stderr, "%s: invalid argument -%c\n",
|
||||||
program, isc_commandline_option);
|
program, isc_commandline_option);
|
||||||
|
/* FALLTHROUGH */
|
||||||
case 'h':
|
case 'h':
|
||||||
usage();
|
usage();
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: dnssec-signzone.c,v 1.212 2009/01/17 10:26:17 fdupont Exp $ */
|
/* $Id: dnssec-signzone.c,v 1.213 2009/05/07 09:33:52 fdupont Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@ -2448,7 +2448,7 @@ main(int argc, char *argv[]) {
|
|||||||
unsigned char saltbuf[255];
|
unsigned char saltbuf[255];
|
||||||
hashlist_t hashlist;
|
hashlist_t hashlist;
|
||||||
|
|
||||||
#define CMDLINE_FLAGS "3:aAc:d:e:f:ghH:i:I:j:k:l:m:n:N:o:O:pr:s:StUv:z"
|
#define CMDLINE_FLAGS "3:aAc:d:e:f:FghH:i:I:j:k:l:m:n:N:o:O:pr:s:StUv:z"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Process memory debugging argument first.
|
* Process memory debugging argument first.
|
||||||
@ -2535,10 +2535,14 @@ main(int argc, char *argv[]) {
|
|||||||
generateds = ISC_TRUE;
|
generateds = ISC_TRUE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'F':
|
||||||
|
/* Reserved for FIPS mode */
|
||||||
|
/* FALLTHROUGH */
|
||||||
case '?':
|
case '?':
|
||||||
if (isc_commandline_option != '?')
|
if (isc_commandline_option != '?')
|
||||||
fprintf(stderr, "%s: invalid argument -%c\n",
|
fprintf(stderr, "%s: invalid argument -%c\n",
|
||||||
program, isc_commandline_option);
|
program, isc_commandline_option);
|
||||||
|
/* FALLTHROUGH */
|
||||||
case 'h':
|
case 'h':
|
||||||
usage();
|
usage();
|
||||||
break;
|
break;
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: main.c,v 1.171 2009/04/03 19:55:59 marka Exp $ */
|
/* $Id: main.c,v 1.172 2009/05/07 09:33:52 fdupont Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@ -359,7 +359,7 @@ parse_command_line(int argc, char *argv[]) {
|
|||||||
|
|
||||||
isc_commandline_errprint = ISC_FALSE;
|
isc_commandline_errprint = ISC_FALSE;
|
||||||
while ((ch = isc_commandline_parse(argc, argv,
|
while ((ch = isc_commandline_parse(argc, argv,
|
||||||
"46c:C:d:fgi:lm:n:N:p:P:"
|
"46c:C:d:fFgi:lm:n:N:p:P:"
|
||||||
"sS:t:T:u:vVx:")) != -1) {
|
"sS:t:T:u:vVx:")) != -1) {
|
||||||
switch (ch) {
|
switch (ch) {
|
||||||
case '4':
|
case '4':
|
||||||
@ -472,12 +472,16 @@ parse_command_line(int argc, char *argv[]) {
|
|||||||
printf("BIND %s built with %s\n", ns_g_version,
|
printf("BIND %s built with %s\n", ns_g_version,
|
||||||
ns_g_configargs);
|
ns_g_configargs);
|
||||||
exit(0);
|
exit(0);
|
||||||
|
case 'F':
|
||||||
|
/* Reserved for FIPS mode */
|
||||||
|
/* FALLTHROUGH */
|
||||||
case '?':
|
case '?':
|
||||||
usage();
|
usage();
|
||||||
if (isc_commandline_option == '?')
|
if (isc_commandline_option == '?')
|
||||||
exit(0);
|
exit(0);
|
||||||
ns_main_earlyfatal("unknown option '-%c'",
|
ns_main_earlyfatal("unknown option '-%c'",
|
||||||
isc_commandline_option);
|
isc_commandline_option);
|
||||||
|
/* FALLTHROUGH */
|
||||||
default:
|
default:
|
||||||
ns_main_earlyfatal("parsing options returned %d", ch);
|
ns_main_earlyfatal("parsing options returned %d", ch);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user