On Sat, Sep 18, 2021 at 02:20:45PM +0100, Tomasz Kłoczko wrote: > Hi, > > Looks like it some issue with test suite because it does not link correctly > > + cd fsverity-utils-1.4 It looks like you're actually building from the master branch, not 1.4? 1.4 doesn't have the code that is causing warnings below. > lib/sign_digest.c: In function 'load_pkcs11_private_key': > lib/sign_digest.c:351:9: warning: 'ENGINE_by_id' is deprecated: Since > OpenSSL 3.0 [-Wdeprecated-declarations] > 351 | engine = ENGINE_by_id("dynamic"); > | ^~~~~~ > In file included from lib/sign_digest.c:23: > /usr/include/openssl/engine.h:336:31: note: declared here > 336 | OSSL_DEPRECATEDIN_3_0 ENGINE *ENGINE_by_id(const char *id); > | ^~~~~~~~~~~~ > lib/sign_digest.c:356:9: warning: 'ENGINE_ctrl_cmd_string' is > deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 356 | if (!ENGINE_ctrl_cmd_string(engine, "SO_PATH", > | ^~ > In file included from lib/sign_digest.c:23: > /usr/include/openssl/engine.h:479:5: note: declared here > 479 | int ENGINE_ctrl_cmd_string(ENGINE *e, const char *cmd_name, > const char *arg, > | ^~~~~~~~~~~~~~~~~~~~~~ > lib/sign_digest.c:358:13: warning: 'ENGINE_ctrl_cmd_string' is > deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] > 358 | !ENGINE_ctrl_cmd_string(engine, "ID", "pkcs11", 0) || Aleksander, can you look into these? - Eric