Paste Log output with less than 10 lines here
pkcs15-westcos.c:303:17: error: ‘RSA_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations]
303 | RSA_free(rsa);
| ^~~~
In file included from pkcs15-westcos.c:30:
/usr/include/openssl/rsa.h:298:28: note: declared here
298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r);
| ^~~~
cc1: all warnings being treated as errors
make[3]: *** [Makefile:597: pkcs15-westcos.lo] Error 1
make[3]: Leaving directory '/home/frkn/Downloads/ccid-emulator-0.8/src/OpenSC/src/pkcs15init'
Please either use `export CFLAGS="-Wno-error=deprecated-declarations" to compile or make a pull request with an updated version of OpenSC (which nowadays is compatible with OpenSSL 3.0+).
Expected behaviour
What should happen?
Compiling ccid-emulator should be succeed.
Actual behaviour
What happens instead?
Compiling ccid-emulator fails.
Steps to reproduce
make
commandLogs
Please use Gist (https://gist.github.com/) or a similar code paster for longer logs.
Paste Log output with less than 10 lines here
pkcs15-westcos.c:303:17: error: ‘RSA_free’ is deprecated: Since OpenSSL 3.0 [-Werror=deprecated-declarations] 303 | RSA_free(rsa); | ^~~~ In file included from pkcs15-westcos.c:30: /usr/include/openssl/rsa.h:298:28: note: declared here 298 | OSSL_DEPRECATEDIN_3_0 void RSA_free(RSA *r); | ^~~~ cc1: all warnings being treated as errors make[3]: *** [Makefile:597: pkcs15-westcos.lo] Error 1 make[3]: Leaving directory '/home/frkn/Downloads/ccid-emulator-0.8/src/OpenSC/src/pkcs15init'