diff options
author | Herbert Xu <[email protected]> | 2017-08-02 16:40:47 +0800 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2017-08-09 20:01:33 +0800 |
commit | 28389575a8cf933a5f3c378556b9f4d3cce0efd2 (patch) | |
tree | a5279edab102a586cda55f12c628c8455d9c76ab /lib/mpi/mpi-bit.c | |
parent | 60c4081ec4195389f4fa1fce83eaad5e4b948748 (diff) |
crypto: ixp4xx - Fix error handling path in 'aead_perform()'
In commit 0f987e25cb8a, the source processing has been moved in front of
the destination processing, but the error handling path has not been
modified accordingly.
Free resources in the correct order to avoid some leaks.
Cc: <[email protected]>
Fixes: 0f987e25cb8a ("crypto: ixp4xx - Fix false lastlen uninitialised warning")
Reported-by: Christophe JAILLET <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Reviewed-by: Arnd Bergmann <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions