Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'MD5' is deprecated: Since OpenSSL 3.0 #4243

Open
Shwetha-Acharya opened this issue Oct 20, 2023 · 0 comments · May be fixed by #4244
Open

'MD5' is deprecated: Since OpenSSL 3.0 #4243

Shwetha-Acharya opened this issue Oct 20, 2023 · 0 comments · May be fixed by #4244

Comments

@Shwetha-Acharya
Copy link
Contributor

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

Shwetha-Acharya pushed a commit to Shwetha-Acharya/glusterfs that referenced this issue Oct 20, 2023
As MD5 function has been marked as deprecated in OpenSSL 3.0, this change
uses EVP (Envelope) API to compute the MD5 checksum.
Reference:
https://www.openssl.org/docs/man1.0.2/man3/EVP_md5.html

Fixes: gluster#4243
Signed-off-by: root <[email protected]>
Shwetha-Acharya pushed a commit to Shwetha-Acharya/glusterfs that referenced this issue Oct 20, 2023
As MD5 function has been marked as deprecated in OpenSSL 3.0, this change
uses EVP (Envelope) API to compute the MD5 checksum.
Reference:
https://www.openssl.org/docs/man1.0.2/man3/EVP_md5.html

Fixes: gluster#4243
Signed-off-by: root <[email protected]>
Shwetha-Acharya pushed a commit to Shwetha-Acharya/glusterfs that referenced this issue Oct 20, 2023
As MD5 function has been marked as deprecated in OpenSSL 3.0, this change
uses EVP (Envelope) API to compute the MD5 checksum.
Reference:
https://www.openssl.org/docs/man1.0.2/man3/EVP_md5.html

Fixes: gluster#4243
Signed-off-by: root <[email protected]>
Shwetha-Acharya pushed a commit to Shwetha-Acharya/glusterfs that referenced this issue Oct 20, 2023
As MD5 function has been marked as deprecated in OpenSSL 3.0, this change
uses EVP (Envelope) API to compute the MD5 checksum.
Reference:
https://www.openssl.org/docs/man1.0.2/man3/EVP_md5.html

Also resolved make error of 'client_uid' never being NULL.

Fixes: gluster#4243 and gluster#4245
Signed-off-by: root <[email protected]>
Shwetha-Acharya pushed a commit to Shwetha-Acharya/glusterfs that referenced this issue Oct 20, 2023
As MD5 function has been marked as deprecated in OpenSSL 3.0, this change
uses EVP (Envelope) API to compute the MD5 checksum.
Reference:
https://www.openssl.org/docs/man1.0.2/man3/EVP_md5.html

Also resolved make error of 'client_uid' never being NULL.

Fixes: gluster#4243 and gluster#4245
Signed-off-by: root <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant