prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  [package] aws-c-event-stream/0.2.7: conflicting openssl versions
  ```
  ERROR: Conflict in s2n/1.0.11:
      's2n/1.0.11' requires 'openssl/1.1.1k' while 'aws-c-cal/0.5.11' requires 'openssl/1.1.1l'.
      To fix this conflict you need to override the package 'openssl' in your root package.
  ```
  
  seems like it was introduced by #7260 
  
  ### Package and Environment Details (include every applicable attribute)
    * Package Name/Version: **aws-c-event-stream/0.2.7**
    * Conan version: **conan 1.39.0**
  
  
  ### Conan profile (output of `conan profile show default` or `conan profile show <profile>` if custom profile is in use)
  ```
  [settings]
  arch=x86_64
  arch_build=x86_64
  build_type=Release
  compiler=gcc
  compiler.libcxx=libstdc++
  compiler.version=7
  os=Linux
  os_build=Linux
  [options]
  [build_requires]
  [env]
  ```
  
  
  ### Steps to reproduce (Include if Applicable)
  conan install --build missing aws-c-event-stream/0.2.7@
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `recipes/s2n/all/conanfile.py`
  Content:
  ```
  1 from conans import ConanFile, CMake, tools
  2 from conans.errors import ConanInvalidConfiguration
  3 import os
  4 
  5 required_conan_version = ">=1.33.0"
  6 
  7 class S2n(ConanFile):
  8     name = "s2n"
  9     description = "An implementation of the TLS/SSL protocols"
  10     topics = ("conan", "aws", "amazon", "cloud", )
  11     url = "https://github.com/conan-io/conan-center-index"
  12     homepage = "https://github.com/aws/s2n-tls"
  13     license = "Apache-2.0",
  14     exports_sources = "CMakeLists.txt"
  15     generators = "cmake", "cmake_find_package"
  16     settings = "os", "arch", "compiler", "build_type"
  17     options = {
  18         "shared": [True, False],
  19         "fPIC": [True, False],
  20     }
  21     default_options = {
  22         "shared": False,
  23         "fPIC": True,
  24     }
  25 
  26     _cmake = None
  27 
  28     @property
  29     def _source_subfolder(self):
  30         return "source_subfolder"
  31 
  32     def configure(self):
  33         if self.options.shared:
  34             del self.options.fPIC
  35         del self.settings.compiler.cppstd
  36         del self.settings.compiler.libcxx
  37 
  38     def requirements(self):
  39         self.requires("openssl/1.1.1k")
  40 
  41     def source(self):
  42         tools.get(**self.conan_data["sources"][self.version],
  43             destination=self._source_subfolder, strip_root=True)
  44 
  45     def validate(self):
  46         if self.settings.os == "Windows":
  47             raise ConanInvalidConfiguration("Not supported (yet)")
  48 
  49     def _configure_cmake(self):
  50         if self._cmake:
  51             return self._cmake
  52         self._cmake = CMake(self)
  53         self._cmake.definitions["BUILD_TESTING"] = False
  54         self._cmake.definitions["UNSAFE_TREAT_WARNINGS_AS_ERRORS"] = False
  55         self._cmake.configure()
  56         return self._cmake
  57 
  58     def build(self):
  59         cmake = self._configure_cmake()
  60         cmake.build()
  61 
  62     def package(self):
  63         self.copy(pattern="LICENSE", dst="licenses", src=self._source_subfolder)
  64         cmake = self._configure_cmake()
  65         cmake.install()
  66         tools.rmdir(os.path.join(self.package_folder, "lib", "s2n"))
  67 
  68     def package_info(self):
  69         self.cpp_info.filenames["cmake_find_package"] = "s2n"
  70         self.cpp_info.filenames["cmake_find_package_multi"] = "s2n"
  71         self.cpp_info.names["cmake_find_package"] = "AWS"
  72         self.cpp_info.names["cmake_find_package_multi"] = "AWS"
  73         self.cpp_info.components["s2n-lib"].names["cmake_find_package"] = "s2n"
  74         self.cpp_info.components["s2n-lib"].names["cmake_find_package_multi"] = "s2n"
  75         self.cpp_info.components["s2n-lib"].libs = ["s2n"]
  76         self.cpp_info.components["s2n-lib"].requires = ["openssl::crypto"]
  77         if self.settings.os in ("FreeBSD", "Linux"):
  78             self.cpp_info.components["s2n-lib"].system_libs = ["m", "pthread"]
  79
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/recipes/s2n/all/conanfile.py b/recipes/s2n/all/conanfile.py
  --- a/recipes/s2n/all/conanfile.py
  +++ b/recipes/s2n/all/conanfile.py
  @@ -36,7 +36,7 @@
           del self.settings.compiler.libcxx
   
       def requirements(self):
  -        self.requires("openssl/1.1.1k")
  +        self.requires("openssl/1.1.1l")
   
       def source(self):
           tools.get(**self.conan_data["sources"][self.version],
  
verification_info: {"golden_diff": "diff --git a/recipes/s2n/all/conanfile.py b/recipes/s2n/all/conanfile.py\n--- a/recipes/s2n/all/conanfile.py\n+++ b/recipes/s2n/all/conanfile.py\n@@ -36,7 +36,7 @@\n         del self.settings.compiler.libcxx\n \n     def requirements(self):\n-        self.requires(\"openssl/1.1.1k\")\n+        self.requires(\"openssl/1.1.1l\")\n \n     def source(self):\n         tools.get(**self.conan_data[\"sources\"][self.version],\n", "issue": "[package] aws-c-event-stream/0.2.7: conflicting openssl versions\n```\r\nERROR: Conflict in s2n/1.0.11:\r\n    's2n/1.0.11' requires 'openssl/1.1.1k' while 'aws-c-cal/0.5.11' requires 'openssl/1.1.1l'.\r\n    To fix this conflict you need to override the package 'openssl' in your root package.\r\n```\r\n\r\nseems like it was introduced by #7260 \r\n\r\n### Package and Environment Details (include every applicable attribute)\r\n  * Package Name/Version: **aws-c-event-stream/0.2.7**\r\n  * Conan version: **conan 1.39.0**\r\n\r\n\r\n### Conan profile (output of `conan profile show default` or `conan profile show <profile>` if custom profile is in use)\r\n```\r\n[settings]\r\narch=x86_64\r\narch_build=x86_64\r\nbuild_type=Release\r\ncompiler=gcc\r\ncompiler.libcxx=libstdc++\r\ncompiler.version=7\r\nos=Linux\r\nos_build=Linux\r\n[options]\r\n[build_requires]\r\n[env]\r\n```\r\n\r\n\r\n### Steps to reproduce (Include if Applicable)\r\nconan install --build missing aws-c-event-stream/0.2.7@\n", "before_files": [{"content": "from conans import ConanFile, CMake, tools\nfrom conans.errors import ConanInvalidConfiguration\nimport os\n\nrequired_conan_version = \">=1.33.0\"\n\nclass S2n(ConanFile):\n    name = \"s2n\"\n    description = \"An implementation of the TLS/SSL protocols\"\n    topics = (\"conan\", \"aws\", \"amazon\", \"cloud\", )\n    url = \"https://github.com/conan-io/conan-center-index\"\n    homepage = \"https://github.com/aws/s2n-tls\"\n    license = \"Apache-2.0\",\n    exports_sources = \"CMakeLists.txt\"\n    generators = \"cmake\", \"cmake_find_package\"\n    settings = \"os\", \"arch\", \"compiler\", \"build_type\"\n    options = {\n        \"shared\": [True, False],\n        \"fPIC\": [True, False],\n    }\n    default_options = {\n        \"shared\": False,\n        \"fPIC\": True,\n    }\n\n    _cmake = None\n\n    @property\n    def _source_subfolder(self):\n        return \"source_subfolder\"\n\n    def configure(self):\n        if self.options.shared:\n            del self.options.fPIC\n        del self.settings.compiler.cppstd\n        del self.settings.compiler.libcxx\n\n    def requirements(self):\n        self.requires(\"openssl/1.1.1k\")\n\n    def source(self):\n        tools.get(**self.conan_data[\"sources\"][self.version],\n            destination=self._source_subfolder, strip_root=True)\n\n    def validate(self):\n        if self.settings.os == \"Windows\":\n            raise ConanInvalidConfiguration(\"Not supported (yet)\")\n\n    def _configure_cmake(self):\n        if self._cmake:\n            return self._cmake\n        self._cmake = CMake(self)\n        self._cmake.definitions[\"BUILD_TESTING\"] = False\n        self._cmake.definitions[\"UNSAFE_TREAT_WARNINGS_AS_ERRORS\"] = False\n        self._cmake.configure()\n        return self._cmake\n\n    def build(self):\n        cmake = self._configure_cmake()\n        cmake.build()\n\n    def package(self):\n        self.copy(pattern=\"LICENSE\", dst=\"licenses\", src=self._source_subfolder)\n        cmake = self._configure_cmake()\n        cmake.install()\n        tools.rmdir(os.path.join(self.package_folder, \"lib\", \"s2n\"))\n\n    def package_info(self):\n        self.cpp_info.filenames[\"cmake_find_package\"] = \"s2n\"\n        self.cpp_info.filenames[\"cmake_find_package_multi\"] = \"s2n\"\n        self.cpp_info.names[\"cmake_find_package\"] = \"AWS\"\n        self.cpp_info.names[\"cmake_find_package_multi\"] = \"AWS\"\n        self.cpp_info.components[\"s2n-lib\"].names[\"cmake_find_package\"] = \"s2n\"\n        self.cpp_info.components[\"s2n-lib\"].names[\"cmake_find_package_multi\"] = \"s2n\"\n        self.cpp_info.components[\"s2n-lib\"].libs = [\"s2n\"]\n        self.cpp_info.components[\"s2n-lib\"].requires = [\"openssl::crypto\"]\n        if self.settings.os in (\"FreeBSD\", \"Linux\"):\n            self.cpp_info.components[\"s2n-lib\"].system_libs = [\"m\", \"pthread\"]\n", "path": "recipes/s2n/all/conanfile.py"}], "after_files": [{"content": "from conans import ConanFile, CMake, tools\nfrom conans.errors import ConanInvalidConfiguration\nimport os\n\nrequired_conan_version = \">=1.33.0\"\n\nclass S2n(ConanFile):\n    name = \"s2n\"\n    description = \"An implementation of the TLS/SSL protocols\"\n    topics = (\"conan\", \"aws\", \"amazon\", \"cloud\", )\n    url = \"https://github.com/conan-io/conan-center-index\"\n    homepage = \"https://github.com/aws/s2n-tls\"\n    license = \"Apache-2.0\",\n    exports_sources = \"CMakeLists.txt\"\n    generators = \"cmake\", \"cmake_find_package\"\n    settings = \"os\", \"arch\", \"compiler\", \"build_type\"\n    options = {\n        \"shared\": [True, False],\n        \"fPIC\": [True, False],\n    }\n    default_options = {\n        \"shared\": False,\n        \"fPIC\": True,\n    }\n\n    _cmake = None\n\n    @property\n    def _source_subfolder(self):\n        return \"source_subfolder\"\n\n    def configure(self):\n        if self.options.shared:\n            del self.options.fPIC\n        del self.settings.compiler.cppstd\n        del self.settings.compiler.libcxx\n\n    def requirements(self):\n        self.requires(\"openssl/1.1.1l\")\n\n    def source(self):\n        tools.get(**self.conan_data[\"sources\"][self.version],\n            destination=self._source_subfolder, strip_root=True)\n\n    def validate(self):\n        if self.settings.os == \"Windows\":\n            raise ConanInvalidConfiguration(\"Not supported (yet)\")\n\n    def _configure_cmake(self):\n        if self._cmake:\n            return self._cmake\n        self._cmake = CMake(self)\n        self._cmake.definitions[\"BUILD_TESTING\"] = False\n        self._cmake.definitions[\"UNSAFE_TREAT_WARNINGS_AS_ERRORS\"] = False\n        self._cmake.configure()\n        return self._cmake\n\n    def build(self):\n        cmake = self._configure_cmake()\n        cmake.build()\n\n    def package(self):\n        self.copy(pattern=\"LICENSE\", dst=\"licenses\", src=self._source_subfolder)\n        cmake = self._configure_cmake()\n        cmake.install()\n        tools.rmdir(os.path.join(self.package_folder, \"lib\", \"s2n\"))\n\n    def package_info(self):\n        self.cpp_info.filenames[\"cmake_find_package\"] = \"s2n\"\n        self.cpp_info.filenames[\"cmake_find_package_multi\"] = \"s2n\"\n        self.cpp_info.names[\"cmake_find_package\"] = \"AWS\"\n        self.cpp_info.names[\"cmake_find_package_multi\"] = \"AWS\"\n        self.cpp_info.components[\"s2n-lib\"].names[\"cmake_find_package\"] = \"s2n\"\n        self.cpp_info.components[\"s2n-lib\"].names[\"cmake_find_package_multi\"] = \"s2n\"\n        self.cpp_info.components[\"s2n-lib\"].libs = [\"s2n\"]\n        self.cpp_info.components[\"s2n-lib\"].requires = [\"openssl::crypto\"]\n        if self.settings.os in (\"FreeBSD\", \"Linux\"):\n            self.cpp_info.components[\"s2n-lib\"].system_libs = [\"m\", \"pthread\"]\n", "path": "recipes/s2n/all/conanfile.py"}]}