Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 0e04be4851ecc94da8b4cac3c576260c0518c936 https://github.com/Linaro/odp/commit/0e04be4851ecc94da8b4cac3c576260c0518c936 Author: Petri Savolainen <petri.savolai...@linaro.org> Date: 2017-11-08 (Wed, 08 Nov 2017)
Changed paths: M platform/linux-generic/odp_crypto.c Log Message: ----------- linux-gen: crypto: fix openssl_lock pointer type Wrong pointer type (pointer to pointer) to openssl_lock array caused data overlapping when running on other than 64-bit machines. Fixed pointer type and simplified global data structure to contain only one dynamically sized array (openssl locks). Session array was already fixed size but was not defined as such. Fixes bug: https://bugs.linaro.org/show_bug.cgi?id=3411 Signed-off-by: Petri Savolainen <petri.savolai...@linaro.org> Signed-off-by: Viktor Tikkanen <viktor.tikka...@nokia.com> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsoleni...@linaro.org> Reviewed-by: Bill Fischofer <bill.fischo...@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>