diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2019-07-26 09:57:29 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2019-07-26 09:58:17 +0200 |
commit | 70fc38661b92df2c1976f4dd7ac16c9528da190f (patch) | |
tree | 3c1cc9a92d3dfff8db1464161b22caa92bfac098 | |
parent | 215854c0a8f49b55e8af398d06a1c9a814bcf445 (diff) | |
download | gnutls-70fc38661b92df2c1976f4dd7ac16c9528da190f.tar.gz |
certtool: default to yes on signing certificates for CAstmp-sign-cas
When asking the questions for CA certificate generation, default
to yes to signing certificates. This is because that's the most
common type of CAs generated and defaulting to yes eliminates
the need for restart on error.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rw-r--r-- | src/certtool-cfg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/certtool-cfg.c b/src/certtool-cfg.c index 8e8b8b59c8..75e1e57c54 100644 --- a/src/certtool-cfg.c +++ b/src/certtool-cfg.c @@ -2550,8 +2550,8 @@ int get_cert_sign_status(void) } else { return read_yesno - ("Will the certificate be used to sign other certificates? (y/N): ", - 0); + ("Will the certificate be used to sign other certificates? (Y/n): ", + 1); } } |