aboutsummaryrefslogtreecommitdiff
path: root/libcmix-crypto/curve25519/sodium
diff options
context:
space:
mode:
Diffstat (limited to 'libcmix-crypto/curve25519/sodium')
-rw-r--r--libcmix-crypto/curve25519/sodium/libsodium_curve25519.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcmix-crypto/curve25519/sodium/libsodium_curve25519.c b/libcmix-crypto/curve25519/sodium/libsodium_curve25519.c
index 59e9258..e86ec09 100644
--- a/libcmix-crypto/curve25519/sodium/libsodium_curve25519.c
+++ b/libcmix-crypto/curve25519/sodium/libsodium_curve25519.c
@@ -43,7 +43,7 @@ void curve25519_shared_key_deleter(struct SharedKey s) {
s.shared = NULL;
}
-struct SharedKey curve25519_derive_shared_key(struct KeyPair pair, unsigned char* pub_key, bool swap_pub_order) {
+struct SharedKey curve25519_derive_shared_key(struct KeyPair pair, unsigned char const* pub_key, bool swap_pub_order) {
init();
unsigned char* shared = (unsigned char*) sodium_malloc(crypto_generichash_BYTES);