1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 07:38: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:
Gisle Vanem 2005-12-04 18:47:36 +00:00
parent 21709e1557
commit 67b4d9b232

View File

@ -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];