AdaCore / AdaCore/aws

Some defines in config/ssl/ssl-thin__openssl.ads are incorrect

Open
#347 0 comments 0 reactions 1 assignee View on GitHub

@TurboGit is already working on this.

Since Nov 28, 2024.

bug
Dominant language
Ada
Stars
162
Forks
45
PR merge metrics
No merged PRs in 30d

Description

In this file, around line 755, the following are declared...

   OPENSSL_VERSION0 : constant := 0;
   OPENSSL_CFLAGS   : constant := 2;
   OPENSSL_BUILT_ON : constant := 3;
   OPENSSL_PLATFORM : constant := 4;
   OPENSSL_DIR      : constant := 5;

On my opensuse system, on both Arm & x86_64 and on both version 1.1.1l & 3.0.1, I have the following defined:

# define OPENSSL_VERSION          0
# define OPENSSL_CFLAGS           1
# define OPENSSL_BUILT_ON         2
# define OPENSSL_PLATFORM         3
# define OPENSSL_DIR              4
# define OPENSSL_ENGINES_DIR      5

with a few extras in v3:

# define OPENSSL_VERSION_STRING         6
# define OPENSSL_FULL_VERSION_STRING    7
# define OPENSSL_MODULES_DIR            8
# define OPENSSL_CPU_INFO               9

Close, but no cigar.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.