Skip to content

Commit 7a5d4de

Browse files
committed
fixup! tls: Update export keys callback to use const
1 parent cba1415 commit 7a5d4de

File tree

1 file changed

+2
-2
lines changed
  • features/nanostack/sal-stack-nanostack/source/Security/protocols/tls_sec_prot

1 file changed

+2
-2
lines changed

features/nanostack/sal-stack-nanostack/source/Security/protocols/tls_sec_prot/tls_sec_prot_lib.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,8 +405,8 @@ static int tls_sec_prot_lib_ssl_recv(void *ctx, unsigned char *buf, size_t len)
405405

406406
static int tls_sec_prot_lib_ssl_export_keys(void *p_expkey, const unsigned char *ms,
407407
const unsigned char *kb, size_t maclen, size_t keylen,
408-
size_t ivlen, unsigned char client_random[32],
409-
unsigned char server_random[32],
408+
size_t ivlen, const unsigned char client_random[32],
409+
const unsigned char server_random[32],
410410
mbedtls_tls_prf_types tls_prf_type)
411411
{
412412
(void) kb;

0 commit comments

Comments
 (0)