Recent OpenSSL returns a 'const' in '*_client_method()'. So avoid

'assignment discards qualifiers from pointer target type' warning.
Gisle Vanem 2005-12-04 18:47:36 +00:00
parent 21709e1557
commit 67b4d9b232
1 changed files with 1 additions and 1 deletions

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