summaryrefslogtreecommitdiffstats
path: root/sm/certreqgen.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2006-08-16 12:47:53 +0200
committerWerner Koch <wk@gnupg.org>2006-08-16 12:47:53 +0200
commitb744f963d7061ce55d2eed65b281298476e54fb7 (patch)
tree6e8ccb3c39a45c16b4ca6cdb2273eb3b8bc2a888 /sm/certreqgen.c
parentChanged HTTP API. (diff)
downloadgnupg2-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.c6
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++)