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

Fix TLS examples to not use openssl compatibility macros #341

Merged
merged 1 commit into from
Apr 5, 2024

Conversation

night1rider
Copy link
Contributor

@night1rider night1rider commented Apr 5, 2024

Fixes issues building wolfSSL with provider or engine enabled.

@night1rider night1rider self-assigned this Apr 5, 2024
@night1rider night1rider marked this pull request as ready for review April 5, 2024 19:27
Copy link
Contributor

@dgarske dgarske left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For both

@@ -48,6 +48,11 @@
#include <wolfssl/certs_test.h>
#endif

#ifdef OPENSSL_COEXIST
#undef SSL_SHUTDOWN_NOT_DONE
#define SSL_SHUTDOWN_NOT_DONE WOLFSSL_SHUTDOWN_NOT_DONE
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, just switch to using WOLFSSL_SHUTDOWN_NOT_DONE. None of this code is needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Understood, fixed to a direct usage of WOLFSSL_SHUTDOWN_NOT_DONE instead of SSL_SHUTDOWN_NOT_DONE

Copy link
Contributor

@dgarske dgarske left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you

@dgarske dgarske changed the title OpenSSL Coexist Fix TLS examples to not use openssl compatibility macros Apr 5, 2024
@dgarske dgarske merged commit 6a5316f into wolfSSL:master Apr 5, 2024
3 checks passed
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.

3 participants