aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x509
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2001-03-15 19:13:40 +0000
committerDr. Stephen Henson <steve@openssl.org>2001-03-15 19:13:40 +0000
commit535d79da635c2015a88a0184321296bdcb201848 (patch)
tree5bca4bb95332244dbe4b6770c6b80c45253d2c13 /crypto/x509
parent4f69172d25f1aab5dce50f97cd5ab61a6d74d771 (diff)
downloadopenssl-535d79da635c2015a88a0184321296bdcb201848.tar.gz
Overhaul the display of certificate details in
the 'ca' utility. This can now be extensively customised in the configuration file and handles multibyte strings and extensions properly. This is required when extensions copying from certificate requests is supported: the user must be able to view the extensions before allowing a certificate to be issued.
Diffstat (limited to 'crypto/x509')
-rw-r--r--crypto/x509/x509.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h
index 1aeea2003d..2b9d1050b7 100644
--- a/crypto/x509/x509.h
+++ b/crypto/x509/x509.h
@@ -364,6 +364,8 @@ DECLARE_STACK_OF(X509_TRUST)
#define XN_FLAG_DUMP_UNKNOWN_FIELDS (1 << 24)
+#define XN_FLAG_FN_ALIGN (1 << 25) /* Align field names to 20 characters */
+
/* Complete set of RFC2253 flags */
#define XN_FLAG_RFC2253 (ASN1_STRFLGS_RFC2253 | \
@@ -386,7 +388,8 @@ DECLARE_STACK_OF(X509_TRUST)
ASN1_STRFLGS_ESC_MSB | \
XN_FLAG_SEP_MULTILINE | \
XN_FLAG_SPC_EQ | \
- XN_FLAG_FN_LN)
+ XN_FLAG_FN_LN | \
+ XN_FLAG_FN_ALIGN)
typedef struct X509_revoked_st
{