*/
if ((data->set.ssh_auth_types & CURLSSH_AUTH_PUBLICKEY) &&
(strstr(authlist, "publickey") != NULL)) {
- const char *home;
+ char *home;
const char *passphrase;
char rsa_pub[PATH_MAX];
char rsa[PATH_MAX];
/***********************************************************************
* file: is a special case in that it doesn't need a network connection
***********************************************************************/
+#ifndef CURL_DISABLE_FILE
if (strequal(conn->protostr, "FILE")) {
/* anyway, this is supposed to be the connect function so we better
at least check that the file is present here! */
return result;
}
+#endif
/*************************************************************
* If the protocol is using SSL and HTTP proxy is used, we set