OpenSSL ssl_store_cert(): Remove a superfluous space before the serial number
authorFabian Keil <fk@fabiankeil.de>
Mon, 22 Feb 2021 14:49:07 +0000 (15:49 +0100)
committerFabian Keil <fk@fabiankeil.de>
Wed, 24 Feb 2021 08:55:35 +0000 (09:55 +0100)
openssl.c

index 469c217..1c16172 100644 (file)
--- 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;