Skip to content

Commit

Permalink
Refs #9475: Applied suggested changes
Browse files Browse the repository at this point in the history
Signed-off-by: RaulSanchez <raul@eprosima.com>
  • Loading branch information
rsanchez15 committed Dec 18, 2020
1 parent a2c71f8 commit 43002ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/fastdds/rtps/messages/MessageReceiver.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class MessageReceiver
#if HAVE_SECURITY
//!Buffer to process the decoded RTPS message
CDRMessage_t crypto_msg_;
//!Buffer to process each decoded RTPS submessage
//!Buffer to process each decoded RTPS sub-message
CDRMessage_t crypto_submsg_;
SerializedPayload_t crypto_payload_;
#endif // if HAVE_SECURITY
Expand Down
2 changes: 1 addition & 1 deletion src/cpp/rtps/messages/MessageReceiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ void MessageReceiver::processCDRMsg(
{
// The original CDRMessage buffer (msg) now points to the proprietary temporary buffer crypto_msg_.
// The auxiliary buffer now points to the propietary temporary buffer crypto_submsg_.
// This way each decoded submessage will be process using the crypto_submsg_ buffer.
// This way each decoded sub-message will be processed using the crypto_submsg_ buffer.
msg = auxiliary_buffer;
auxiliary_buffer = &crypto_submsg_;
}
Expand Down

0 comments on commit 43002ba

Please sign in to comment.