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

TLS improvements #104

Merged
merged 4 commits into from
Jun 23, 2017
Merged

TLS improvements #104

merged 4 commits into from
Jun 23, 2017

Conversation

link2xt
Copy link
Contributor

@link2xt link2xt commented Jun 23, 2017

Fixes #100

Please don't squash commits.

@pasis
Copy link
Member

pasis commented Jun 23, 2017

Build failed because new functions appeared only in openssl-1.0.2. We can't break build for openssl-1.0.1, because many systems still run it.

v1.0.2-related code can be wrapped with #if OPENSSL_VERSION_NUMBER > XXX. See link for details.

For v1.0.1 we should leave the old code.

@link2xt
Copy link
Contributor Author

link2xt commented Jun 23, 2017

Ok, I just disabled verification for 1.0.1.
There is no point adding manual verification for outdated versions of OpenSSL, 1.0.1 is not supported since 2016-12-31. Outdated systems are not going to update libstrophe anyway.

@pasis
Copy link
Member

pasis commented Jun 23, 2017

Looks fine now. Let me check it with openssl-1.0.2 and then I'll merge.

@pasis pasis merged commit 92d006a into strophe:master Jun 23, 2017
@pasis
Copy link
Member

pasis commented Jun 23, 2017

Merged.

@link2xt
Copy link
Contributor Author

link2xt commented Jun 23, 2017

I tested it with valid and invalid cert by the way.

@link2xt link2xt deleted the openssl branch June 23, 2017 11:52
@pasis
Copy link
Member

pasis commented Jun 23, 2017

Nice, thank you.

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.

2 participants