Adapt tests for OpenSSL v3.1.0

OttoHollmann requested to merge OttoHollmann/m2crypto:master into master

From OpenSSL 3.1.0 protocols SSL 3, TLS 1.0, TLS 1.1, and DTLS 1.0 only work at security level 0. So if we still want to test it, we need to decrease security.

https://www.openssl.org/news/openssl-3.1-notes.html

Merge request reports