From ddcdf629f00a5b42f3f4471d7592de3170eaadee Mon Sep 17 00:00:00 2001
From: Fabian Keil <fk@fabiankeil.de>
Date: Mon, 22 Feb 2021 15:49:07 +0100
Subject: [PATCH] OpenSSL ssl_store_cert(): Remove a superfluous space before
 the serial number

---
 openssl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openssl.c b/openssl.c
index 469c2170..1c161727 100644
--- a/openssl.c
+++ b/openssl.c
@@ -387,7 +387,7 @@ static int ssl_store_cert(struct client_state *csp, X509 *crt)
          ul = (unsigned long)l;
          neg = "";
       }
-      if (BIO_printf(bio, " %s%lu (%s0x%lx)\n", neg, ul, neg, ul) <= 0)
+      if (BIO_printf(bio, "%s%lu (%s0x%lx)\n", neg, ul, neg, ul) <= 0)
       {
          log_ssl_errors(LOG_LEVEL_ERROR, "BIO_printf() for serial failed");
          ret = -1;
-- 
2.49.0