Skip to content

'MD5' is deprecated: Since OpenSSL 3.0  #4243

Description

@Shwetha-Acharya

Configuration fails with the following error:

07:11:50 checksum.c: In function 'gf_rsync_md5_checksum':
07:11:50 checksum.c:43:5: error: 'MD5' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
07:11:50 43 | MD5(data, len, md5);
07:11:50 | ^~~
07:11:50 In file included from checksum.c:11:
07:11:50 /usr/include/openssl/md5.h:52:38: note: declared here
07:11:50 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n,
07:11:50 | ^~~

Refer: https://build.gluster.org/job/gh_32-bit-build-smoke/4058/console

Activity

  1. added 5 commits that reference this issue on Oct 20, 2023
    5c0f71a
    89e5e8f
    0cb0ab9
    5e88e7c
    4f075e4
  2. added this to the Gluster 11.2 milestone on Feb 7, 2025
  3. eli-sterling commented on Aug 19, 2026

    @eli-sterling
    Contributor

    We have submitted PR #4708, replacing the deprecated MD5 calls in libglusterfs with the OpenSSL EVP digest interface.

    The change preserves the existing checksum behavior while using the supported OpenSSL 3 API. It has been built and validated as part of our combined OpenSSL test image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions