diff options
author | Kali Kaneko <kali@leap.se> | 2016-06-15 17:01:38 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-06-15 17:01:38 -0400 |
commit | 48ff88a7781165b98285d6c25ec5d49d49cc3503 (patch) | |
tree | 38d980a14f3476cac99de9bc137a6e86d6f87772 /.gitignore | |
parent | 532917f5248d0149497d6dcebfd2a1386daaff94 (diff) |
[bug] initialize OpenSSL context just once
Do not initialize the openssl context on each call to decrypt.
I'm not 100% sure of the causal chain, but it seems that the
initialization of the osrandom engine that openssl backend does might be
breaking havoc when sqlcipher is calling rand_bytes concurrently.
further testing is needed to confirm this is the ultimate cause, but in
my tests this change avoids the occurrence of the dreaded Floating Point
Exception in soledad/sqlcipher.
- Resolves: #8180
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions