summaryrefslogtreecommitdiffstats
path: root/include/libssh/wrapper.h
diff options
context:
space:
mode:
authorAlan Dunn <amdunn@gmail.com>2014-02-05 17:26:57 -0600
committerAndreas Schneider <asn@cryptomilk.org>2014-02-06 19:40:29 +0100
commitabe4ed0e7562b2d3adc9ac187ef0978c45a9a777 (patch)
tree50c740705cadf4ba16148621f0c16f914231d228 /include/libssh/wrapper.h
parente7f831f0a3368b9c39eb838bb2f6ca266cb8e62c (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/wrapper.h')
0 files changed, 0 insertions, 0 deletions