]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Work towards wish `keyfile-diagnostic'. Many sshpubk.c keyfile-loading
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Fri, 29 Aug 2003 22:52:57 +0000 (22:52 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Fri, 29 Aug 2003 22:52:57 +0000 (22:52 +0000)
commit5ce8a4439ebdd3b54df7b1b7c7b87c247e7c2507
tree90acdf915f696be5980f4e5b4027e7e5e2048c4e
parent7a39c5c07240dfda5a29b81ee5ebedd81ff96e31
Work towards wish `keyfile-diagnostic'. Many sshpubk.c keyfile-loading
functions have sprouted `**errorstr' arguments, which if non-NULL can
return a textual error message. The interface additions are patchy and
ad-hoc since this seemed to suit the style of the existing interfaces.

I've since realised that most of this is masked by sanity-checking that
gets done before these functions are called, but it will at least report
MAC failures and the like (tested on Unix), which was the original point
of the exercise.

Note that not everyone who could be using this information is at the
moment.

git-svn-id: http://svn.tartarus.org/sgt/putty@3430 cda61777-01e9-0310-a592-d414129be87e
pageant.c
puttygen.c
ssh.c
ssh.h
sshpubk.c