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

won't configure with recent version of OpenSSL deprecated SSL_library… #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

seiichi-yoshimune
Copy link

…_init

add -DOPENSSL_API_COMPAT=0x10000000L I also removed the if conditional on the configure but I think it should compile with this CFLAGS

…_init

add `-DOPENSSL_API_COMPAT=0x10000000L` I also removed the if conditional on the configure but I think it should compile with this `CFLAGS`
@seiichi-yoshimune
Copy link
Author

seiichi-yoshimune commented Jan 28, 2021

well can delete this.. it won't compile... on recent openssl version you can't call EVP members so wi-socket.c in net / libwired fails because
try to access member pkey->type this is not allowed anymore
see this stackoverflow
https://stackoverflow.com/questions/40549318/error-invalid-use-of-incomplete-type-rsa-aka-struct-rsa-st-in-openssl-1-1#40550964

const BIGNUM *member_p;
const BIGNUM *member_g;
DH_get0_pqg(tls->dh, &member_p, NULL, &member_g);  // getter function to get p, q, g, q is NULL in this case
// this below doesn't work anymore
	tls->dh->p = BN_bin2bn(p, (int)p_size, NULL);
	tls->dh->g = BN_bin2bn(g, (int)g_size, NULL);

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

Successfully merging this pull request may close these issues.

1 participant