aboutsummaryrefslogtreecommitdiff
path: root/src/sas.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sas.c')
-rw-r--r--src/sas.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sas.c b/src/sas.c
index b5a3131..76e4576 100644
--- a/src/sas.c
+++ b/src/sas.c
@@ -120,7 +120,7 @@ size_t olm_sas_mac_length(
size_t olm_sas_calculate_mac(
OlmSAS * sas,
- void * input, size_t input_length,
+ const void * input, size_t input_length,
const void * info, size_t info_length,
void * mac, size_t mac_length
) {
@@ -143,7 +143,7 @@ size_t olm_sas_calculate_mac(
// for compatibility with an old version of Riot
size_t olm_sas_calculate_mac_long_kdf(
OlmSAS * sas,
- void * input, size_t input_length,
+ const void * input, size_t input_length,
const void * info, size_t info_length,
void * mac, size_t mac_length
) {