Lines Matching refs:rsa
1309 sshc->rsa_pub = sshc->rsa = NULL; in sftp_pkey_init()
1312 sshc->rsa = strdup(data->set.str[STRING_SSH_PRIVATE_KEY]); in sftp_pkey_init()
1322 sshc->rsa = aprintf("%s/.ssh/id_rsa", home); in sftp_pkey_init()
1323 if(!sshc->rsa) in sftp_pkey_init()
1325 else if(stat(sshc->rsa, &sbuf)) { in sftp_pkey_init()
1326 Curl_safefree(sshc->rsa); in sftp_pkey_init()
1327 sshc->rsa = aprintf("%s/.ssh/id_dsa", home); in sftp_pkey_init()
1328 if(!sshc->rsa) in sftp_pkey_init()
1330 else if(stat(sshc->rsa, &sbuf)) { in sftp_pkey_init()
1331 Curl_safefree(sshc->rsa); in sftp_pkey_init()
1336 if(!out_of_memory && !sshc->rsa) { in sftp_pkey_init()
1338 sshc->rsa = strdup("id_rsa"); in sftp_pkey_init()
1339 if(sshc->rsa && stat(sshc->rsa, &sbuf)) { in sftp_pkey_init()
1340 Curl_safefree(sshc->rsa); in sftp_pkey_init()
1341 sshc->rsa = strdup("id_dsa"); in sftp_pkey_init()
1342 if(sshc->rsa && stat(sshc->rsa, &sbuf)) { in sftp_pkey_init()
1343 Curl_safefree(sshc->rsa); in sftp_pkey_init()
1346 sshc->rsa = strdup(""); in sftp_pkey_init()
1365 if(out_of_memory || !sshc->rsa) { in sftp_pkey_init()
1366 Curl_safefree(sshc->rsa); in sftp_pkey_init()
1379 infof(data, "Using SSH private key file '%s'", sshc->rsa); in sftp_pkey_init()
1802 sshc->rsa, sshc->passphrase); in ssh_statemachine()
1808 Curl_safefree(sshc->rsa); in ssh_statemachine()
2979 Curl_safefree(sshc->rsa); in ssh_statemachine()