Skip to content

Commit

Permalink
Merge branch 'master' of ssh://github.com/assaabloy-ppi/salt-channel-c
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Johansson committed Dec 5, 2018
2 parents 99d66dc + 283f49a commit dfcfbd8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/salt.c
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ salt_ret_t salt_write_begin(uint8_t *p_buffer,
return SALT_SUCCESS;
}

salt_ret_t salt_write_next(salt_msg_t *p_msg, void *p_buffer, uint32_t size)
salt_ret_t salt_write_next(salt_msg_t *p_msg, const void *p_buffer, const uint32_t size)
{

/*
Expand Down
4 changes: 2 additions & 2 deletions src/salt.h
Original file line number Diff line number Diff line change
Expand Up @@ -642,8 +642,8 @@ salt_ret_t salt_write_begin(uint8_t *p_buffer,
*
*/
salt_ret_t salt_write_next(salt_msg_t *p_msg,
void *p_buffer,
uint32_t size);
const void *p_buffer,
const uint32_t size);

/**
* @brief Add a clear text message to be encrypted to next encrypted package.
Expand Down

0 comments on commit dfcfbd8

Please sign in to comment.