Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update security to use openssl version 3.* #49

Open
gonzoleeman opened this issue Nov 4, 2024 · 0 comments
Open

Update security to use openssl version 3.* #49

gonzoleeman opened this issue Nov 4, 2024 · 0 comments

Comments

@gonzoleeman
Copy link
Collaborator

The current WITH_SECURITY code was designed quite a while ago, and it gets many warnings when compiling with modern (3.*) openssl versions, like:

[```
32/62] cc -Ilibisns.so.0.p -I. -I.. -Iinclude -I../include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -O3 -D_GNU_SOURCE -fPIC -DOPENSSL_LOAD_CONF -MD -MQ libisns.so.0.p/pki.c.o -MF libisns.so.0.p/pki.c.o.d -o libisns.so.0.p/pki.c.o -c ../pki.c
../pki.c: In function ‘isns_dsasig_report_errors’:
../pki.c:154:4: warning: ‘ERR_func_error_string’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
ERR_func_error_string(code),
^~~~~~~~~~~~~~~~~~~~~
In file included from ../pki.c:16:0:
/usr/include/openssl/err.h:459:35: note: declared here
OSSL_DEPRECATEDIN_3_0 const char *ERR_func_error_string(unsigned long e);
^~~~~~~~~~~~~~~~~~~~~


The code needs to migrate to openssl 3 or newer. I fear this might break some older distros though?

Anyone?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant