cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH] gtls: don't print double newline after certificate dates

From: Alessandro Ghedini <alessandro_at_ghedini.me>
Date: Tue, 10 Mar 2015 00:34:49 +0100

After the start date and expire date fields, two newlines are printed, and it's
kinda ugly:

> * subject: C=US,ST=California,L=Mountain View,O=Google Inc,CN=*.google.com
> * start date: Fri, 27 Feb 2015 20:32:20 GMT
>
> * expire date: Thu, 28 May 2015 00:00:00 GMT
>
> * issuer: C=US,O=Google Inc,CN=Google Internet Authority G2

With the patch the following is printed:

> * subject: C=US,ST=California,L=Mountain View,O=Google Inc,CN=*.google.com
> * start date: Fri, 27 Feb 2015 20:32:20 GMT
> * expire date: Thu, 28 May 2015 00:00:00 GMT
> * issuer: C=US,O=Google Inc,CN=Google Internet Authority G2

Cheers

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2015-03-10