-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add *_SSLOptions #1463
base: master
Are you sure you want to change the base?
Add *_SSLOptions #1463
Conversation
…r SSL context creation and initialization, to allow further customization of the SSL context, if required.
…case sensitive names, windows doesn't care. The library on ubuntu is librpcrt4.a
Can anyone provide insight into why the tests are failing? |
Hello, did you check the result of the unit tests ? If I check the first test to fail 31: Assertion failed, file C:\projects\paho-mqtt-c\test\test3.c, line 626, description: Connect should fail I encourage you to push forward as it would be great to have this patch official as we have a similar need :) |
In fact you did not take into account the impact of the change of the struct version. The client do check on that number and would reject your structure as the number is above the max known:
(I still do not understand why your change make the above test succeed when it should fail... but the code part above explain that your modificaution cannot work like that: you change nothing related to the max version in your patch. |
Add *_SSLOptions members for a callback and context to be called after SSL context creation and initialization, to allow further customization of the SSL context, if required.