diff options
author | NavaL <ayoyo@thoughtworks.com> | 2016-06-17 21:37:24 +0200 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-06-17 20:14:18 -0400 |
commit | 5992172f58684ff21bffec9ed9414aaa9b26cd31 (patch) | |
tree | 15218d76fb748992cc9a4b2daadede5b709b620d /src/leap/mail/plugins | |
parent | 0cef35297c8a38d27f390b27ec3d0be0a84230ad (diff) |
[bug] initialize OpenSSL context just once in leap.mail
Do not initialize the openssl context on each call to get mail payload phash.
The openSSL backend should only be initialized once because it is activating the os random engine
which in turn unregister and free current engine first. This is very tricky when operations are running in threads
as it essentially momentarily unregister the openssl crypto callbacks that makes openssl thread safe.
- Resolves: #8180 with the soledad PR #324
Diffstat (limited to 'src/leap/mail/plugins')
0 files changed, 0 insertions, 0 deletions