panda-re / panda

Platform for Architecture-Neutral Dynamic Analysis

Home Page:https://panda.re

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

panda_rr2.c uses deprecated openssl APIs

lacraig2 opened this issue · comments

38.81 /panda/panda/src/rr/panda_rr2.c:463:5: error: 'SHA1_Update' is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
38.81   463 |     if (!SHA1_Update(ctx, content, len)) {
38.81       |     ^~
38.81 In file included from /panda/panda/src/rr/panda_rr2.c:9:
38.81 /usr/include/openssl/sha.h:50:27: note: declared here
38.81    50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
38.81       |                           ^~~~~~~~~~~
38.95 cc1: all warnings being treated as errors
38.95 make[1]: *** [/panda/rules.mak:72: panda/src/rr/panda_rr2.o] Error 1
38.95 make: *** [Makefile:358: subdir-x86_64-softmmu] Error 2

Duplicate of #1326?

It is!