Skip to content

Deprecated OpenSSL functions #3584

@hdu-sdlzx

Description

@hdu-sdlzx

Describe the feature

OpenSSL 3.0 deprecates some APIs used by aws-sdk-cpp, e.g. EVP_MD_CTX_md.
As a result, aws-sdk-cpp failed to build with OpenSSL configured with "no-deprecated".

build log:
09:22:02 /hdd/jenkins/workspace/aws/crt/aws-crt-cpp/crt/s2n/crypto/s2n_hash.c:205:22: error: implicit declaration of function ‘EVP_MD_CTX_md’; did you mean ‘EVP_MD_CTX_dup’? [-Wimplicit-function-declaration]
09:22:02 205 | POSIX_ENSURE_REF(EVP_MD_CTX_md(state->digest.high_level.evp.ctx));
09:22:02 | ^~~~~~~~~~~~~

Use Case

We have a program built with latest OpenSSL LTS version configured with "no-deprecated", and we want to integrate aws-sdk-cpp into it.

Proposed Solution

Update OpenSSL APIs

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions