perf genelf: Switch deprecated openssl MD5_* functions to new EVP API
authorZixuan Tan <tanzixuan.me@gmail.com>
Thu, 25 Aug 2022 17:00:58 +0000 (01:00 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 6 Sep 2022 12:45:23 +0000 (09:45 -0300)
commit6ea9da51a5c00c9d9309c4c9aa21cbe63c799c56
tree329fa1a2781d31339d39f2bd845f64397585015f
parentcbd7bfc7fd99acdde58ec2b0bce990158fba1654
perf genelf: Switch deprecated openssl MD5_* functions to new EVP API

Switch to the flavored EVP API like in test-libcrypto.c, and remove the
bad gcc #pragma.

Inspired-by: 5b245985a6de5ac1 ("tools build: Switch to new openssl API for test-libcrypto")
Signed-off-by: Zixuan Tan <tanzixuan.me@gmail.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/CABwm_eTnARC1GwMD-JF176k8WXU1Z0+H190mvXn61yr369qt6g@mail.gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/genelf.c