Closed Luminarys closed 4 years ago
Turns out the overall change is not so bad. While I've done my own manual testing to verify this change there are no comprehensive tests around this code sadly (integration tests around networking kind of suck to write even though they should be there). I'll leave this PR open a bit if anyone wants to leave feedback (I believe there should be no visible changes in behavior).
One other significant benefit here is that the stripped release binary size of synapse has been reduced 20% from 7.3 MB to 5.9 MB.
The Rust sha-1 crate appears to have a reasonably performant implementation now, we can start migrating off of openssl by switching this over.
Fixes #191