Revert "Add padding spaces before printing algo."
authorRich Salz <rsalz@openssl.org>
Wed, 15 Nov 2017 23:26:22 +0000 (18:26 -0500)
committerRich Salz <rsalz@openssl.org>
Wed, 15 Nov 2017 23:26:22 +0000 (18:26 -0500)
Some test files need to be updated.
This reverts commit 26a374a271dabd49f3fa7f43a74e05d34aca010e.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4745)

crypto/x509/t_x509.c

index 2ad7e63..ba6f919 100644 (file)
@@ -119,9 +119,6 @@ int X509_print_ex(BIO *bp, X509 *x, unsigned long nmflags,
 
     if (!(cflag & X509_FLAG_NO_SIGNAME)) {
         const X509_ALGOR *tsig_alg = X509_get0_tbs_sigalg(x);
-
-        if (BIO_puts(bp, "    ") <= 0)
-            goto err;
         if (X509_signature_print(bp, tsig_alg, NULL) <= 0)
             goto err;
     }