diff options
| author | Alan Dunn <amdunn@gmail.com> | 2014-02-05 17:26:57 -0600 |
|---|---|---|
| committer | Andreas Schneider <asn@cryptomilk.org> | 2014-02-06 19:40:29 +0100 |
| commit | abe4ed0e7562b2d3adc9ac187ef0978c45a9a777 (patch) | |
| tree | 50c740705cadf4ba16148621f0c16f914231d228 /include/libssh/ssh2.h | |
| parent | e7f831f0a3368b9c39eb838bb2f6ca266cb8e62c (diff) | |
packet_crypt: Make packet_{en,de}crypt fail consistently on len == 0
Right now the behavior of packet_{en,de}crypt on len == 0 depends on
the behavior of malloc. Instead, make these consistently fail based
on what I assume the desired behavior is due to the first error
message in each.
Signed-off-by: Alan Dunn <amdunn@gmail.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/ssh2.h')
0 files changed, 0 insertions, 0 deletions
