projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03eeb07
)
Don't feil when indent is 0.
author
Richard Levitte
<levitte@openssl.org>
Mon, 31 Mar 2003 13:24:02 +0000
(13:24 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Mon, 31 Mar 2003 13:24:02 +0000
(13:24 +0000)
PR: 559
crypto/x509v3/v3_prn.c
patch
|
blob
|
history
diff --git
a/crypto/x509v3/v3_prn.c
b/crypto/x509v3/v3_prn.c
index aeaf6170fe44ee1cdeb9af7a7f7964c34ad676ac..754808b6257c02e1d2878e12cdb316c4eddef9a4 100644
(file)
--- a/
crypto/x509v3/v3_prn.c
+++ b/
crypto/x509v3/v3_prn.c
@@
-178,7
+178,7
@@
int X509V3_extensions_print(BIO *bp, char *title, STACK_OF(X509_EXTENSION) *exts
ASN1_OBJECT *obj;
X509_EXTENSION *ex;
ex=sk_X509_EXTENSION_value(exts, i);
- if (BIO_printf(bp,"%*s",indent, "") <= 0) return 0;
+ if (
indent &&
BIO_printf(bp,"%*s",indent, "") <= 0) return 0;
obj=X509_EXTENSION_get_object(ex);
i2a_ASN1_OBJECT(bp,obj);
j=X509_EXTENSION_get_critical(ex);