projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revamp SSH authentication code so that user interaction is more
[u/mdw/putty]
/
macosx
/
osxwin.m
diff --git
a/macosx/osxwin.m
b/macosx/osxwin.m
index
e534c90
..
ba3a08e
100644
(file)
--- a/
macosx/osxwin.m
+++ b/
macosx/osxwin.m
@@
-893,6
+893,13
@@
int from_backend(void *frontend, int is_stderr, const char *data, int len)
return [win fromBackend:data len:len isStderr:is_stderr];
}
return [win fromBackend:data len:len isStderr:is_stderr];
}
+int get_userpass_input(prompts_t *p, unsigned char *in, int inlen)
+{
+ SessionWindow *win = (SessionWindow *)p->frontend;
+ Terminal *term = [win term];
+ return term_get_userpass_input(term, p, in, inlen);
+}
+
void frontend_keypress(void *handle)
{
/* FIXME */
void frontend_keypress(void *handle)
{
/* FIXME */