Backport changes needed for pkcs11-provider to work in libssh 0.10
This backports most of the remaining rework of the OpenSSL backend for OpenSSL 3.0 and pkcs11-provider instead of engines. This was already pulled into Fedora:
https://src.fedoraproject.org/rpms/libssh/pull-request/17
This should be fixing also issues like #242 in the 0.10 branch so I would like to include this in the next stable release to keep it at least to some extent future proof.
Checklist
-
Commits have Signed-off-by:
with name/author being identical to the commit author -
Code modified for feature -
Test suite updated with functionality tests -
Test suite updated with negative tests -
Documentation updated
Reviewer's checklist:
-
Any issues marked for closing are addressed -
There is a test suite reasonably covering new functionality or modifications -
Function naming, parameters, return values, types, etc., are consistent and according to CONTRIBUTING.md -
This feature/change has adequate documentation added -
No obvious mistakes in the code