wazuh / wazuh-http-request

Wazuh HTTP request library
7 stars 6 forks source link

Add the ability to download dependencies over HTTP instead of HTTPS #38

Closed GabrielEValenzuela closed 1 year ago

GabrielEValenzuela commented 1 year ago

Description

When the project is a submodule of another project, under a Centos 5 operating systems there is no need to use the https protocol. This can cause issues and it would be beneficial to detect if the OS is Centos 5 and skip the https protocol.

Expected Behavior

The build process should detect the Centos 5 and use the http protocol to download dependences.

Steps to Reproduce

  1. Set up the project as a submodule of another project.
  2. Run the build process under Centos 5 operating systems
  3. Observe the "SSL connect error" (35) error during build process.

Additional Information

Adding logic to skip the definition of https is defined in the parent project.