67 static int unknown_ext_print(
BIO *out,
X509_EXTENSION *
ext,
unsigned long flag,
int indent,
int supported);
86 #ifndef CHARSET_EBCDIC
92 len = strlen(nval->
value)+1;
110 void *ext_str = NULL;
112 const unsigned char *
p;
118 return unknown_ext_print(out, ext, flag, indent, 0);
123 if(!ext_str)
return unknown_ext_print(out, ext, flag, indent, 1);
126 if(!(value = method->
i2s(method, ext_str))) {
130 #ifndef CHARSET_EBCDIC
136 len = strlen(value)+1;
146 }
else if(method->
i2v) {
147 if(!(nval = method->
i2v(method, ext_str, NULL))) {
153 }
else if(method->
i2r) {
154 if(!method->
i2r(method, ext_str, out, indent)) ok = 0;
182 if (indent &&
BIO_printf(bp,
"%*s",indent,
"") <= 0)
return 0;
186 if (
BIO_printf(bp,
": %s\n",j?
"critical":
"") <= 0)
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,
"");
224 #ifndef OPENSSL_NO_FP_API