Backport TLS-related fixes from the loopmgr-branch
This merge request contains some TLS-related fixes found when resolving issues in loopmgr branch (ondrej-add-isc-loopmgr
).
None of the issues seem to reveal itself in a stable or development branch at the time of writing,as the same test suite have not revealed them. Nevertheless, the fixes seem to be worth backporting anyway:
- Firstly, to remain on the safer side;
- Secondly, to keep the implementations in sync to the extent possible.
Edited by Artem Boldariev