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

SSL_set1_sigalgs_list() is missing in LibreSSL-3.7.x #852

Open
orbea opened this issue May 1, 2023 · 0 comments
Open

SSL_set1_sigalgs_list() is missing in LibreSSL-3.7.x #852

orbea opened this issue May 1, 2023 · 0 comments

Comments

@orbea
Copy link

orbea commented May 1, 2023

Both hostapd and wpa_supplicant which use the same code base fail because SSL_set1_sigalgs_list() (And SSL_set_cert_cb(), see: #534) is missing.

../src/crypto/tls_openssl.c: In function 'tls_set_conn_flags':
../src/crypto/tls_openssl.c:3265:21: error: implicit declaration of function 'SSL_set1_sigalgs_list'; did you mean 'SSL_set1_groups_list'? [-Werror=implicit-function-declaration]
 3265 |                 if (SSL_set1_sigalgs_list(ssl, algs) != 1) {
      |                     ^~~~~~~~~~~~~~~~~~~~~
      |                     SSL_set1_groups_list
../src/crypto/tls_openssl.c:3274:17: error: implicit declaration of function 'SSL_set_cert_cb'; did you mean 'SSL_set_verify'? [-Werror=implicit-function-declaration]
 3274 |                 SSL_set_cert_cb(ssl, suiteb_cert_cb, conn);
      |                 ^~~~~~~~~~~~~~~
      |                 SSL_set_verify
cc1: some warnings being treated as errors
make: *** [../src/build.rules:86: /var/tmp/portage/net-wireless/wpa_supplicant-9999/work/wpa_supplicant-9999/build/wpa_supplicant/src/crypto/tls_openssl.o] Error 1

This was tested with their current git: https://w1.fi/cgit/hostap/commit/?id=73372322038d2617f2be4542c0f2a5fa846fe911

OpenSSL documents the SSL_set1_sigalgs_list() function here:
https://www.openssl.org/docs/man1.1.1/man3/SSL_set1_sigalgs_list.html

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