chiark / gitweb /
server/keyexch.c: Fix error handling around `mpmask' and `mpunmask'.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 26 May 2016 08:26:09 +0000 (09:26 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 23 Apr 2017 03:06:07 +0000 (04:06 +0100)
commitc13541b1ddedc7012c823bb793fb2f6f62ba3e08
treedffca6e5a19d31b35ef5f37fd9c4f8e1a23444b4
parent0d9974ba1c7a707352f9d50f592b39b095de534d
server/keyexch.c: Fix error handling around `mpmask' and `mpunmask'.

The return value from `mpmask' wasn't being used, and callers expected a
broken buffer on failure, so that's the official story now.

The return value from `mpunmask' was advertised properly, but not
checked, so fix that.
server/keyexch.c