]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Fix.
authorSimon Josefsson <simon@josefsson.org>
Tue, 13 Feb 2007 09:16:05 +0000 (09:16 +0000)
committerSimon Josefsson <simon@josefsson.org>
Tue, 13 Feb 2007 09:16:05 +0000 (09:16 +0000)
src/certtool.c

index 0d01682c1f0ddf8efc40578b7363b67f0221e2db..03a54bedb375df6917cbf2c73540dc1b782c1b67 100644 (file)
@@ -1245,11 +1245,10 @@ crl_info ()
   ret = gnutls_x509_crl_export (crl, GNUTLS_X509_FMT_PEM, buffer, &size);
   if (ret < 0)
     error (EXIT_FAILURE, 0, "Export error: %s", gnutls_strerror (ret));
-
-  fprintf (outfile, "\n%s\n", buffer);
+  else
+    fprintf (outfile, "%s", buffer);
 }
 
-
 void
 privkey_info (void)
 {