Cannot sync phone due to TLSv1 usage
Moving this from a downstream bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=2105835
Description of problem:
Cannot sync from my android phone.
Version-Release number of selected component (if applicable):
2.0.0
How reproducible:
Every time.
Steps to Reproduce:
- Start syncevolution.
- Attempt to sync phone.
Actual results:
Phone fails to sync.
Expected results:
Phone syncs with evolution.
Additional info:
This problem began when I upgraded from F35 to F36.
The syncevolution output never shows the connection attempt. Running a wireshark trace show the laptop returning an "internal error" to the phone's request to start a TLS session.
This problem can be fixed by changing SSL.TLSv1_METHOD to SSL.TLSv1_2_METHOD on line 42 of /usr/bin/syncevo-http-server.