#1698 hashes.c:70:1: warning: 'MD5' is deprecated: Since OpenSSL 3.0

Reporter Zash
Owner Nobody
Created
Updated
Stars ★ (1)
Tags
  • Status-Accepted
  • Priority-Medium
  • Type-Defect
  1. Zash on

    What steps will reproduce the problem? 1. Compile util.hashes with OpenSSL 3.0 (e.g. on Alpine edge as of now) What is the expected output? No warnings. What do you see instead? hashes.c: In function 'Lmd5': hashes.c:70:1: warning: 'MD5' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 70 | MAKE_HASH_FUNCTION(Lmd5, MD5, MD5_DIGEST_LENGTH) | ^~~~~~~~~~~~~~~~~~ In file included from hashes.c:28: /usr/include/openssl/md5.h:52:38: note: declared here 52 | OSSL_DEPRECATEDIN_3_0 unsigned char *MD5(const unsigned char *d, size_t n, | ^~~ What version of the product are you using? On what operating system? observed in Buildbot test of 97aa4b2fe4e0161eb319c2310ed3c3de1078cbc3 on Alpine edge

New comment

Not published. Used for spam prevention and optional update notifications.