main
crypto/openssl: update to OpenSSL 3.0 minimum version
crypto/openssl: fix use-after-free and cleanup