mirror of
https://github.com/QuasarApp/qca.git
synced 2025-04-27 03:54:31 +00:00
non-advanced mode should default to user cert (non-CA) generation
svn path=/trunk/kdesupport/qca/; revision=658121
This commit is contained in:
parent
ee2f3096d1
commit
880d1f315b
@ -931,9 +931,6 @@ static QCA::CertificateOptions promptForCertAttributes(bool advanced, bool req)
|
||||
}
|
||||
else
|
||||
{
|
||||
// self-signed alone still needs this for validation to work
|
||||
opts.setAsCA();
|
||||
|
||||
QCA::CertificateInfo info;
|
||||
info.insert(QCA::CommonName, prompt_for("Common Name"));
|
||||
info.insert(QCA::Country, prompt_for("Country Code (2 letters)"));
|
||||
@ -1867,6 +1864,7 @@ int main(int argc, char **argv)
|
||||
// TODO: instead of printing full usage at every wrong turn, we might
|
||||
// try to print something closer to the context.
|
||||
// TODO: use --debug for more stuff besides plugins
|
||||
// TODO: support for CRLs somewhere and somehow
|
||||
|
||||
// help
|
||||
if(args[0] == "help" || args[0] == "--help" || args[0] == "-h")
|
||||
|
Loading…
x
Reference in New Issue
Block a user