chiark / gitweb /
server/keyset.c: Return more informative error codes from ks_decrypt.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 27 Jun 2011 08:31:48 +0000 (09:31 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 21 Mar 2012 15:54:34 +0000 (15:54 +0000)
Also, do what the commentary says and return zero and break the output
buffer if it's not big enough, rather than returning KSERR_DECRYPT.

The new error codes allow callers to make more sensible decisions about
whether to continue to search for other keys which might work better.


No differences found