mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
Recent OpenSSL returns a 'const' in '*_client_method()'. So avoid
'assignment discards qualifiers from pointer target type' warning.
This commit is contained in:
parent
21709e1557
commit
67b4d9b232
@ -1121,7 +1121,7 @@ Curl_ossl_connect(struct connectdata *conn,
|
|||||||
long lerr;
|
long lerr;
|
||||||
int what;
|
int what;
|
||||||
char * str;
|
char * str;
|
||||||
SSL_METHOD *req_method;
|
const SSL_METHOD *req_method;
|
||||||
void *ssl_sessionid=NULL;
|
void *ssl_sessionid=NULL;
|
||||||
ASN1_TIME *certdate;
|
ASN1_TIME *certdate;
|
||||||
curl_socket_t sockfd = conn->sock[sockindex];
|
curl_socket_t sockfd = conn->sock[sockindex];
|
||||||
|
Loading…
Reference in New Issue
Block a user