Skip to content

Valkey fails to build against OpenSSL 4 #4012

Description

@FinnRG

On Ubuntu we are currently preparing the transition to OpenSSL 4. During a test rebuild valkey failed to build with the error

tls.c: In function 'getCertFieldByName':
tls.c:699:5: error: 'X509_NAME_get_text_by_NID' is deprecated: Since OpenSSL 4.0 [-Werror=deprecated-declarations]
    return X509_NAME_get_text_by_NID(subject, nid, out, outlen) > 0;

Full build log: https://launchpadlibrarian.net/865288820/buildlog_ubuntu-stonking-amd64.valkey_9.0.4-0ubuntu2_BUILDING.txt.gz

If there aren't any caveats or blockers the maintainers are aware of, I would offer working on this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions