diff options
author | Myungho Jung <mhjungk@gmail.com> | 2017-04-10 02:34:22 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-04-10 13:17:27 +0200 |
commit | cd15f1020fd627d795e60a142d1f00f7fc1fe7f3 (patch) | |
tree | 72f5c44eb6bcce1e4dd20ea16849951ec88190ea /crypto/chacha20poly1305.c | |
parent | padata: free correct variable (diff) | |
download | linux-cd15f1020fd627d795e60a142d1f00f7fc1fe7f3.tar.xz linux-cd15f1020fd627d795e60a142d1f00f7fc1fe7f3.zip |
crypto: lz4 - fixed decompress function to return error code
Decompress function in LZ4 library is supposed to return an error code or
negative result. But, it returns -1 when any error is detected. Return
error code when the library returns negative value.
Signed-off-by: Myungho Jung <mhjungk@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/chacha20poly1305.c')
0 files changed, 0 insertions, 0 deletions