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

Remove const qualifier from send/recv in transport implementations and MQTT system test #1326

Merged
merged 2 commits into from
Oct 21, 2020

Conversation

yourslab
Copy link
Contributor

Submodule pointers are updated to follow changes from changes from FreeRTOS/coreMQTT#86, FreeRTOS/coreHTTP#45, & FreeRTOS/FreeRTOS@398abba. The const qualifier is removed from send/recv because there are transport implementations that require a member of the network context to be modified such as in the case of mbedtls.

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

@@ -177,7 +177,7 @@ OpensslStatus_t Openssl_Disconnect( const NetworkContext_t * pNetworkContext );
*
* @return Number of bytes received if successful; negative value on error.
*/
int32_t Openssl_Recv( const NetworkContext_t * pNetworkContext,
int32_t Openssl_Recv( NetworkContext_t * pNetworkContext,
Copy link
Contributor

Choose a reason for hiding this comment

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

When MISRA is in CI we can make an annotation later for this I suppose.

@yourslab yourslab merged commit a05cf12 into aws:master Oct 21, 2020
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