def METHOD_NAME(self):
    extra_env = {}
    if self.settings.compiler == "Visual Studio":
        extra_env["OPENSSL_LIBS"] = ";".join("{}.lib".format(lib) for lib in self.deps_cpp_info["openssl"].libs)
    with tools.environment_append(extra_env):
        with tools.vcvars(self.settings) if self.settings.compiler == "Visual Studio" else tools.no_op():
            yield