Make OpenSSL keypair comparation a generic helper function

Ondřej Surý requested to merge 3785-openssl-refactoring-14 into main

Merge request reports