summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/x_name.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2005-09-01 20:02:51 +0200
committerDr. Stephen Henson <steve@openssl.org>2005-09-01 20:02:51 +0200
commit5abe32d8611b26630305731f7dd4ea564264719e (patch)
treef06b8b1db6711b134d8234e56f76e1e9cd51b5bc /crypto/asn1/x_name.c
parentUpdate ASN1 printing code and add a -print option to 'pkcs7' utility for (diff)
downloadopenssl-5abe32d8611b26630305731f7dd4ea564264719e.tar.xz
openssl-5abe32d8611b26630305731f7dd4ea564264719e.zip
Return 2 from X509_NAME printing routine to add newline.
Diffstat (limited to 'crypto/asn1/x_name.c')
-rw-r--r--crypto/asn1/x_name.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/x_name.c b/crypto/asn1/x_name.c
index 7f4e39bcf4..8701c54114 100644
--- a/crypto/asn1/x_name.c
+++ b/crypto/asn1/x_name.c
@@ -268,7 +268,7 @@ static int x509_name_ex_print(BIO *out, ASN1_VALUE **pval,
if (X509_NAME_print_ex(out, (X509_NAME *)*pval,
indent, pctx->nm_flags) <= 0)
return 0;
- return 1;
+ return 2;
}