summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2001-03-15 22:45:20 +0000
committerDr. Stephen Henson <steve@openssl.org>2001-03-15 22:45:20 +0000
commite890dcdb196aa2b971f3c85ccc94389bb01edb91 (patch)
treec77e73f96b98be5fb92cf3102bba7406f0bf0420 /apps
parent5ddcb8664a5940ac97a78d8ab870f6118f428f9a (diff)
Add 'align' option to nameopt.
Add default values for display by the 'ca' utility to openssl.cnf Update docs.
Diffstat (limited to 'apps')
-rw-r--r--apps/apps.c1
-rw-r--r--apps/openssl.cnf5
2 files changed, 6 insertions, 0 deletions
diff --git a/apps/apps.c b/apps/apps.c
index ab30e53ba5..d8d9140075 100644
--- a/apps/apps.c
+++ b/apps/apps.c
@@ -796,6 +796,7 @@ int set_name_ex(unsigned long *flags, const char *arg)
{ "nofname", XN_FLAG_FN_NONE, XN_FLAG_FN_MASK},
{ "sname", XN_FLAG_FN_SN, XN_FLAG_FN_MASK},
{ "lname", XN_FLAG_FN_LN, XN_FLAG_FN_MASK},
+ { "align", XN_FLAG_FN_ALIGN, 0},
{ "oid", XN_FLAG_FN_OID, XN_FLAG_FN_MASK},
{ "space_eq", XN_FLAG_SPC_EQ, 0},
{ "dump_unknown", XN_FLAG_DUMP_UNKNOWN_FIELDS, 0},
diff --git a/apps/openssl.cnf b/apps/openssl.cnf
index c089a21f27..f02b2bdf84 100644
--- a/apps/openssl.cnf
+++ b/apps/openssl.cnf
@@ -48,6 +48,11 @@ RANDFILE = $dir/private/.rand # private random number file
x509_extensions = usr_cert # The extentions to add to the cert
+# Comment out the following two lines for the "traditional"
+# (and highly broken) format.
+name_opt = ca_default # Subject Name options
+cert_opt = ca_default # Certificate field options
+
# Extensions to add to a CRL. Note: Netscape communicator chokes on V2 CRLs
# so this is commented out by default to leave a V1 CRL.
# crl_extensions = crl_ext