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

Migration from OpenSSL 1.1.0g to 3.1.5 #518

Open
pnovitskii opened this issue May 28, 2024 · 1 comment
Open

Migration from OpenSSL 1.1.0g to 3.1.5 #518

pnovitskii opened this issue May 28, 2024 · 1 comment

Comments

@pnovitskii
Copy link

xwebsocket/IXSocketOpenSSL.cpp: In member function ‘void ix::SocketOpenSSL::openSSLInitialize()’:
ixwebsocket/IXSocketOpenSSL.cpp:129:16: error: ‘OpenSSL_add_ssl_algorithms’ was not declared in this scope
129 | (void) OpenSSL_add_ssl_algorithms();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
ixwebsocket/IXSocketOpenSSL.cpp:130:16: error: ‘SSL_load_error_strings’ was not declared in this scope; did you mean ‘ERR_load_ERR_strings’?
130 | (void) SSL_load_error_strings();
| ^~~~~~~~~~~~~~~~~~~~~~
| ERR_load_ERR_strings
xwebsocket/IXSocketOpenSSL.cpp: In static member function ‘static void ix::SocketOpenSSL::openSSLLockingCallback(int, int, const char*, int)’:
/ixwebsocket/IXSocketOpenSSL.cpp:140:20: error: ‘CRYPTO_LOCK’ was not declared in this scope; did you mean ‘CRYPTO_RWLOCK’?
140 | if (mode & CRYPTO_LOCK)
| ^~~~~~~~~~~
| CRYPTO_RWLOCK
ixwebsocket/IXSocketOpenSSL.cpp: In member function ‘virtual bool ix::SocketOpenSSL::accept(std::string&)’:
ixwebsocket/IXSocketOpenSSL.cpp:703:13: error: ‘SSL_set_ecdh_auto’ was not declared in this scope; did you mean ‘SSL_set_dh_auto’?
703 | SSL_set_ecdh_auto(_ssl_connection, 1);
| ^~~~~~~~~~~~~~~~~
| SSL_set_dh_auto

I am using QBS. Can someone help me with this?

@bsergean
Copy link
Collaborator

There must be existing ifdef for openssl ; can you try to use them to ifdef out the deprecated functions ?

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

2 participants