]> asedeno.scripts.mit.edu Git - PuTTY_svn.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)
commit8931a93e7c0a941be367986755c1c90a5327ac9f
tree6eb81ecd7bb04dc8178472e20eeabd79e2fc3429
parent7997bb8a98d1ce3f5026a21a9a2c3ccd0285c4cb
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.

git-svn-id: http://svn.tartarus.org/sgt/putty@5330 cda61777-01e9-0310-a592-d414129be87e
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