aboutsummaryrefslogtreecommitdiff
path: root/src/libmbedcrypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmbedcrypto.c')
-rw-r--r--src/libmbedcrypto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libmbedcrypto.c b/src/libmbedcrypto.c
index d5945c27..b6a0379e 100644
--- a/src/libmbedcrypto.c
+++ b/src/libmbedcrypto.c
@@ -925,9 +925,9 @@ cipher_decrypt_gcm(struct ssh_cipher_struct *cipher,
AES_GCM_IVLEN,
complete_packet, /* aad */
aadlen,
- (const u_char *)complete_packet + aadlen + encrypted_size, /* tag */
+ (const uint8_t *)complete_packet + aadlen + encrypted_size, /* tag */
authlen,
- (const u_char *)complete_packet + aadlen, /* input */
+ (const uint8_t *)complete_packet + aadlen, /* input */
(unsigned char *)out); /* output */
if (rc != 0) {
SSH_LOG(SSH_LOG_WARNING, "mbedtls_gcm_auth_decrypt failed");