aboutsummaryrefslogtreecommitdiffstats
path: root/apps/ca.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2003-04-03 18:07:39 +0000
committerRichard Levitte <levitte@openssl.org>2003-04-03 18:07:39 +0000
commit63b6fe2bf6d33222546b83755f65896d73cf940b (patch)
tree19affb13d90351ae8165e55b2d7adc7a565054ef /apps/ca.c
parentf85b68cd4982c28c02070c2e036da1c84cf0e7af (diff)
downloadopenssl-63b6fe2bf6d33222546b83755f65896d73cf940b.tar.gz
Conditionalise all debug strings.
Diffstat (limited to 'apps/ca.c')
-rw-r--r--apps/ca.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/ca.c b/apps/ca.c
index 574cdd7fdc..0f8abc85ee 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -640,7 +640,9 @@ bad:
p = NCONF_get_string(conf, section, "unique_subject");
if (p)
{
+#ifdef RL_DEBUG
BIO_printf(bio_err, "DEBUG: unique_subject = \"%s\"\n", p);
+#endif
switch(*p)
{
case 'f': /* false */
@@ -658,10 +660,14 @@ bad:
break;
}
}
+#ifdef RL_DEBUG
else
BIO_printf(bio_err, "DEBUG: unique_subject undefined\n", p);
+#endif
+#ifdef RL_DEBUG
BIO_printf(bio_err, "DEBUG: configured unique_subject is %d\n",
db_attr.unique_subject);
+#endif
in=BIO_new(BIO_s_file());
out=BIO_new(BIO_s_file());