From: Gisle Vanem Date: Sun, 4 Dec 2005 18:47:36 +0000 (+0000) Subject: Recent OpenSSL returns a 'const' in '*_client_method()'. So avoid X-Git-Tag: curl-7_15_1~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=67b4d9b232923ec2ba5bbb2f929254cf95e953db;p=curl Recent OpenSSL returns a 'const' in '*_client_method()'. So avoid 'assignment discards qualifiers from pointer target type' warning. --- diff --git a/lib/ssluse.c b/lib/ssluse.c index c0cf93664..550e0ee95 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -1121,7 +1121,7 @@ Curl_ossl_connect(struct connectdata *conn, long lerr; int what; char * str; - SSL_METHOD *req_method; + const SSL_METHOD *req_method; void *ssl_sessionid=NULL; ASN1_TIME *certdate; curl_socket_t sockfd = conn->sock[sockindex];