diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2005-12-04 18:47:36 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2005-12-04 18:47:36 +0000 |
commit | 67b4d9b232923ec2ba5bbb2f929254cf95e953db (patch) | |
tree | a43a2511d02a6965951952482212a2c5c189b576 | |
parent | 21709e15575e9afa4e6435bb279d90854cf9f163 (diff) |
Recent OpenSSL returns a 'const' in '*_client_method()'. So avoid
'assignment discards qualifiers from pointer target type' warning.
-rw-r--r-- | lib/ssluse.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; |