cURL / Mailing Lists / curl-library / Single Mail


Re: Leading space in info ssl_version

From: Daniel Stenberg <>
Date: Thu, 23 Aug 2007 22:36:08 +0200 (CEST)

On Thu, 23 Aug 2007, Patrick Monnerat wrote:

> The Curl_xxxssl_version() procedures all generate an extra white space at
> the beginning of the info string: this choice has probably been dictated by
> spacing requisites of curl_version(). But these procedures are also used by
> curl_version_info() that returns a structure. As a consequence, the
> ssl_version string stored in the result structure (if some) always starts
> with a leading whitespace.
> This seems to be a bug resulting from the addition of curl_version_info()
> after curl_version(), but I'm not sure (that's why I submit the patch to the
> list!)

Right, it seems like a silly leftover from the past and I consider it a bug.
Please commit your fix!
Received on 2007-08-23