make X509_NAME opaque
[oweals/openssl.git] / crypto / asn1 / t_x509.c
index 0bdc2c22304d90dcb230b5fe8344e2f2d8a3c812..e97222021f279989c470c3e343ce8dd9bc04cefd 100644 (file)
@@ -72,7 +72,7 @@
 #include <openssl/objects.h>
 #include <openssl/x509.h>
 #include <openssl/x509v3.h>
-#include "asn1_locl.h"
+#include "internal/asn1_int.h"
 
 #ifndef OPENSSL_NO_STDIO
 int X509_print_fp(FILE *fp, X509 *x)
@@ -166,14 +166,6 @@ int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags,
     if (!(cflag & X509_FLAG_NO_SIGNAME)) {
         if (X509_signature_print(bp, ci->signature, NULL) <= 0)
             goto err;
-#if 0
-        if (BIO_printf(bp, "%8sSignature Algorithm: ", "") <= 0)
-            goto err;
-        if (i2a_ASN1_OBJECT(bp, ci->signature->algorithm) <= 0)
-            goto err;
-        if (BIO_puts(bp, "\n") <= 0)
-            goto err;
-#endif
     }
 
     if (!(cflag & X509_FLAG_NO_ISSUER)) {