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.
Signed-off-by: Petri Savolainen petri.savolai...@linaro.org
Signed-off-by: Viktor Tikkanen viktor.tikka...@nokia.com

----------------github------------------------
/** Email created from pull request 274 (psavol:master-openssl-lock)
 ** https://github.com/Linaro/odp/pull/274
 ** Patch: https://github.com/Linaro/odp/pull/274.patch
 ** Base sha: 2dd964e170d71078cfe03d4c9e00c6f592b4326b
 ** Merge commit sha: 24c118a015a9af290f4d232c4cd49996574d29b9
 **/
----------------/github------------------------

----------------checkpatch.pl------------------------
total: 0 errors, 0 warnings, 0 checks, 46 lines checked


to_send-p-000.patch has no obvious style problems and is ready for submission.
----------------/checkpatch.pl------------------------

Reply via email to