cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: giva: curl/lib ssluse.c,1.136,1.137

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 5 Dec 2005 14:54:15 +0100 (CET)

On Sun, 4 Dec 2005, cvs_at_labb.contactor.se wrote:

Hey Gisle,

> Recent OpenSSL returns a 'const' in '*_client_method()'. So avoid
> 'assignment discards qualifiers from pointer target type' warning.

...

> - SSL_METHOD *req_method;
> + const SSL_METHOD *req_method;

... as you can see now in the autobuilds, this change causes warnings on all
systems that build with a somewhat older OpenSSL version... :-O

(Don't you just love header-changes like this...)

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-12-05