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 support with WolfSSL #636

Open
shantanu1singh opened this issue Jun 17, 2020 · 2 comments
Open

TLS support with WolfSSL #636

shantanu1singh opened this issue Jun 17, 2020 · 2 comments

Comments

@shantanu1singh
Copy link

I noticed that the CMakeLists.txt file currently looks for OpenSSL if TLS is enabled

IF (MQTT_USE_TLS)
    FIND_PACKAGE (OpenSSL REQUIRED)
    IF (MQTT_USE_STATIC_OPENSSL)
        FIND_PACKAGE (ZLIB REQUIRED)
    ENDIF ()
ENDIF ()

Now that it's possible to compile Boost Asio with WolfSSL, can mqtt_cpp also support WolfSSL as the TLS library instead of OpenSSL? From what I can see, mqtt_cpp currently only depends on boost::asio::ssl and not OpenSSL directly. Is that correct?

@jonesmz
Copy link
Contributor

jonesmz commented Jun 17, 2020

I believe this is correct.

If you submit a PR that keeps existing compatibility while allowing the WolfSSL to work as a configure option, it would probably be merged.

Please include continuous integration testing for it as well.

@shantanu1singh
Copy link
Author

Thanks @jonesmz

I'm currently occupied with work. Will send a PR once I have something ready.

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