Lines Matching refs:indent
67 static int unknown_ext_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent, int supported);
71 void X509V3_EXT_val_prn(BIO *out, STACK_OF(CONF_VALUE) *val, int indent, int ml)
77 BIO_printf(out, "%*s", indent, "");
81 if(ml) BIO_printf(out, "%*s", indent, "");
108 int X509V3_EXT_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent)
118 return unknown_ext_print(out, ext, flag, indent, 0);
123 if(!ext_str) return unknown_ext_print(out, ext, flag, indent, 1);
131 BIO_printf(out, "%*s%s", indent, "", value);
141 BIO_printf(out, "%*s%s", indent, "", tmp);
151 X509V3_EXT_val_prn(out, nval, indent,
154 if(!method->i2r(method, ext_str, out, indent)) ok = 0;
165 int X509V3_extensions_print(BIO *bp, char *title, STACK_OF(X509_EXTENSION) *exts, unsigned long flag, int indent)
173 BIO_printf(bp,"%*s%s:\n",indent, "", title);
174 indent += 4;
182 if (indent && BIO_printf(bp,"%*s",indent, "") <= 0) return 0;
188 if(!X509V3_EXT_print(bp, ex, flag, indent + 4))
190 BIO_printf(bp, "%*s", indent + 4, "");
198 static int unknown_ext_print(BIO *out, X509_EXTENSION *ext, unsigned long flag, int indent, int supported)
207 BIO_printf(out, "%*s<Parse Error>", indent, "");
209 BIO_printf(out, "%*s<Not Supported>", indent, "");
214 ext->value->data, ext->value->length, indent, -1);
216 return BIO_dump_indent(out, (char *)ext->value->data, ext->value->length, indent);
225 int X509V3_EXT_print_fp(FILE *fp, X509_EXTENSION *ext, int flag, int indent)
230 ret = X509V3_EXT_print(bio_tmp, ext, flag, indent);