]> asedeno.scripts.mit.edu Git - PuTTY.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)
commiteebc7529edc9f4582dc4bdc6b5e4871245397648
tree90acdf915f696be5980f4e5b4027e7e5e2048c4e
parent0a293ae208d67f708c5d06db0d2707d717ff836d
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.

[originally from svn r3430]
pageant.c
puttygen.c
ssh.c
ssh.h
sshpubk.c