diff options
author | Werner Koch <wk@gnupg.org> | 2006-08-16 12:47:53 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2006-08-16 12:47:53 +0200 |
commit | b744f963d7061ce55d2eed65b281298476e54fb7 (patch) | |
tree | 6e8ccb3c39a45c16b4ca6cdb2273eb3b8bc2a888 /sm/certreqgen.c | |
parent | Changed HTTP API. (diff) | |
download | gnupg2-b744f963d7061ce55d2eed65b281298476e54fb7.tar.xz gnupg2-b744f963d7061ce55d2eed65b281298476e54fb7.zip |
With --enable-gpg the keyservers are now build and a first test using gpg2
shows no prblems. Needs more testing of course.
Diffstat (limited to '')
-rw-r--r-- | sm/certreqgen.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sm/certreqgen.c b/sm/certreqgen.c index 205ca0e40..7a9847858 100644 --- a/sm/certreqgen.c +++ b/sm/certreqgen.c @@ -467,7 +467,7 @@ proc_parameters (ctrl_t ctrl, return gpg_error (GPG_ERR_INV_PARAMETER); } - /* check the keylength */ + /* Check the keylength. */ if (!get_parameter (para, pKEYLENGTH, 0)) nbits = 1024; else @@ -481,7 +481,7 @@ proc_parameters (ctrl_t ctrl, return gpg_error (GPG_ERR_INV_PARAMETER); } - /* check the usage */ + /* Check the usage. */ if (parse_parameter_usage (para, pKEYUSAGE)) return gpg_error (GPG_ERR_INV_PARAMETER); @@ -493,7 +493,6 @@ proc_parameters (ctrl_t ctrl, log_error (_("line %d: no subject name given\n"), r->lnr); return gpg_error (GPG_ERR_INV_PARAMETER); } -#if HAVE_KSBA_DN_TESTSTR err = ksba_dn_teststr (s, 0, &erroff, &errlen); if (err) { @@ -507,7 +506,6 @@ proc_parameters (ctrl_t ctrl, return gpg_error (GPG_ERR_INV_PARAMETER); } -#endif /*HAVE_KSBA_DN_TESTSTR*/ /* Check that the optional email address is okay. */ for (seq=0; (s=get_parameter_value (para, pNAMEEMAIL, seq)); seq++) |