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

Reporter Zash
Owner Zash
Created
Updated
Stars ★ (1)
Tags
  • Type-Defect
  • Status-Fixed
  • Milestone-0.13
  • Priority-Medium
  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

  2. Zash on

    Changes
    • tags
  3. Zash on

    Done in https://hg.prosody.im/trunk/rev/865631ebb9f2

    Changes
    • tags Status-Fixed
    • owner Zash
  4. Zash on

    Changes
    • tags Milestone-0.13

New comment

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