simon-svn: putty: simon

tartarus-commits at tartarus-commits at
Thu Feb 17 18:34:26 GMT 2005

SVN root:       svn://
Changes by:     simon
Revision:       5330
Date:           2005-02-17 18:34:24 +0000 (Thu, 17 Feb 2005)

Log message (12 lines):
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

Modified files:
U   putty/mac/mac.c
U   putty/macosx/README.OSX
U   putty/macosx/osxclass.h
U   putty/macosx/osxdlg.m
U   putty/macosx/osxwin.m
U   putty/putty.h
U   putty/ssh.c
U   putty/unix/gtkdlg.c
U   putty/unix/uxcons.c
U   putty/windows/wincons.c
U   putty/windows/windlg.c


More information about the tartarus-commits mailing list