warning.
[oweals/openssl.git] / crypto / asn1 / t_x509.c
index 80cf37bf0499d3a4443929a9e9a920a18757c345..6ee1065ce9468c081f087d24dc3d2ecdf65c6e4f 100644 (file)
@@ -199,7 +199,7 @@ int X509_print(BIO *bp, X509 *x)
                        if(!X509V3_EXT_print(bp, ex, 0, 16))
                                {
                                BIO_printf(bp, "%16s", "");
-                               ASN1_OCTET_STRING_print(bp,ex->value);
+                               M_ASN1_OCTET_STRING_print(bp,ex->value);
                                }
                        if (BIO_write(bp,"\n",1) <= 0) goto err;
                        }
@@ -219,10 +219,11 @@ int X509_print(BIO *bp, X509 *x)
                        ((i+1) == n)?"":":") <= 0) goto err;
                }
        if (BIO_write(bp,"\n",1) != 1) goto err;
+       if (!X509_CERT_AUX_print(bp, x->aux, 0)) goto err;
        ret=1;
 err:
        if (str != NULL) ASN1_STRING_free(str);
-       if (m != NULL) Free((char *)m);
+       if (m != NULL) Free(m);
        return(ret);
        }