OpenSSL 1.1 deprecates the API calls that are used in ocaml-ssl.
I've looked how other projects do this transition in grpc repo and applied the same changes.