Skip to content

Commit

Permalink
fixup! tls: Update export keys callback to use const
Browse files Browse the repository at this point in the history
  • Loading branch information
Patater committed Sep 16, 2019
1 parent cba1415 commit 7a5d4de
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -405,8 +405,8 @@ static int tls_sec_prot_lib_ssl_recv(void *ctx, unsigned char *buf, size_t len)

static int tls_sec_prot_lib_ssl_export_keys(void *p_expkey, const unsigned char *ms,
const unsigned char *kb, size_t maclen, size_t keylen,
size_t ivlen, unsigned char client_random[32],
unsigned char server_random[32],
size_t ivlen, const unsigned char client_random[32],
const unsigned char server_random[32],
mbedtls_tls_prf_types tls_prf_type)
{
(void) kb;
Expand Down

0 comments on commit 7a5d4de

Please sign in to comment.