cURL / Mailing Lists / curl-library / Single Mail

curl-library

Leading space in info ssl_version

From: Patrick Monnerat <Patrick.Monnerat_at_datasphere.ch>
Date: Thu, 23 Aug 2007 18:38:27 +0200

 
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!)
 
If it is not a feature, the attached patch fixes the bug.

Received on 2007-08-23