summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-06-15 17:01:38 -0400
committerKali Kaneko <kali@leap.se>2016-06-15 17:01:38 -0400
commit48ff88a7781165b98285d6c25ec5d49d49cc3503 (patch)
tree38d980a14f3476cac99de9bc137a6e86d6f87772 /server
parent532917f5248d0149497d6dcebfd2a1386daaff94 (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 'server')
0 files changed, 0 insertions, 0 deletions