~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
It's a new year.
[sgt/putty]
/
unix
/
uxsftp.c
diff --git
a/unix/uxsftp.c
b/unix/uxsftp.c
index
3691cac
..
0779ff1
100644
(file)
--- a/
unix/uxsftp.c
+++ b/
unix/uxsftp.c
@@
-70,6
+70,15
@@
Filename platform_default_filename(const char *name)
char *get_ttymode(void *frontend, const char *mode) { return NULL; }
char *get_ttymode(void *frontend, const char *mode) { return NULL; }
+int get_userpass_input(prompts_t *p, unsigned char *in, int inlen)
+{
+ int ret;
+ ret = cmdline_get_passwd_input(p, in, inlen);
+ if (ret == -1)
+ ret = console_get_userpass_input(p, in, inlen);
+ return ret;
+}
+
/*
* Stubs for the GUI feedback mechanism in Windows PSCP.
*/
/*
* Stubs for the GUI feedback mechanism in Windows PSCP.
*/