- s = x->signature->data;
- n = x->signature->length;
- for (i=0; i<n; i++, s++)
- {
- if ((i%18) == 0) BIO_write(out,"\n ",9);
- BIO_printf(out,"%02x%s",*s, ((i+1) == n)?"":":");
- }
- BIO_write(out,"\n",1);
-
-
-}
-
-static void ext_print(out, ex)
-BIO *out;
-X509_EXTENSION *ex;
-{
- ASN1_OBJECT *obj;
- int j;
- BIO_printf(out,"%12s","");
- obj=X509_EXTENSION_get_object(ex);
- i2a_ASN1_OBJECT(out,obj);
- j=X509_EXTENSION_get_critical(ex);
- BIO_printf(out, ": %s\n%16s", j ? "critical":"","");
- if(!X509V3_EXT_print(out, ex, 0))
- ASN1_OCTET_STRING_print(out,ex->value);
- BIO_write(out,"\n",1);