]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Revamp interface to verify_ssh_host_key() and askalg(). Each of them
authorSimon Tatham <anakin@pobox.com>
Thu, 17 Feb 2005 18:34:24 +0000 (18:34 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 17 Feb 2005 18:34:24 +0000 (18:34 +0000)
commit8574822b9b340fbfa9246c309fdfc803c970ea90
tree6eb81ecd7bb04dc8178472e20eeabd79e2fc3429
parent92ccb964a2a2dcbc953e18c8bda2f95a30364367
Revamp interface to verify_ssh_host_key() and askalg(). Each of them
now returns an integer: 0 means cancel the SSH connection and 1
means continue with it. Additionally, they can return -1, which
means `front end has set an asynchronous alert box in motion, please
wait to be called back with the result', and each one is passed a
callback function pointer and context for this purpose.

I have not yet done the same to askappend() yet, because it will
take a certain amount of reorganisation of logging.c.

Importantly, this checkin means the host key dialog box now works on
OS X.

[originally from svn r5330]
mac/mac.c
macosx/README.OSX
macosx/osxclass.h
macosx/osxdlg.m
macosx/osxwin.m
putty.h
ssh.c
unix/gtkdlg.c
unix/uxcons.c
windows/wincons.c
windows/windlg.c