Skip to content

Commit

Permalink
wolfSSL_UseALPN should take const char* input rather than char*
Browse files Browse the repository at this point in the history
  • Loading branch information
ycdev1 authored Sep 21, 2024
1 parent ef8d0cb commit 152149c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -3418,7 +3418,7 @@ int wolfSSL_set1_groups(WOLFSSL* ssl, int* groups, int count)
#ifdef HAVE_ALPN

WOLFSSL_ABI
int wolfSSL_UseALPN(WOLFSSL* ssl, char *protocol_name_list,
int wolfSSL_UseALPN(WOLFSSL* ssl, const char *protocol_name_list,
word32 protocol_name_listSz, byte options)
{
char *list, *ptr, **token;
Expand Down

0 comments on commit 152149c

Please sign in to comment.