mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
mbedtls: set length even when LWS_HAVE_mbedtls_ssl_get_alpn_protocol
This commit is contained in:
parent
c226da3e10
commit
00b922041b
1 changed files with 2 additions and 0 deletions
|
@ -888,6 +888,8 @@ void SSL_get0_alpn_selected(const SSL *ssl, const unsigned char **data,
|
||||||
*len = (unsigned int)strlen(alp);
|
*len = (unsigned int)strlen(alp);
|
||||||
else
|
else
|
||||||
*len = 0;
|
*len = 0;
|
||||||
|
#else
|
||||||
|
*len = 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue