Work towards wish `keyfile-diagnostic'. Many sshpubk.c keyfile-loading
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 29 Aug 2003 22:52:57 +0000 (22:52 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 29 Aug 2003 22:52:57 +0000 (22:52 +0000)
commit222d54dc209210b6e43589c798e35e21273b4082
tree90acdf915f696be5980f4e5b4027e7e5e2048c4e
parent6d1138864fc75651ce79aa2748deb7feba1bac91
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: svn://svn.tartarus.org/sgt/putty@3430 cda61777-01e9-0310-a592-d414129be87e
pageant.c
puttygen.c
ssh.c
ssh.h
sshpubk.c