mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
mbedtls: set length even when LWS_HAVE_mbedtls_ssl_get_alpn_protocol
This commit is contained in:
parent
f0e4eac10b
commit
15513d1ee4
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);
|
||||
else
|
||||
*len = 0;
|
||||
#else
|
||||
*len = 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue