As detailed in #3516, the expectation and use of pAlpnProtos was that of a string, but it's propagated to lower layers as an array of strings instead. Incorrectly calculating the number of separate protocols as the demos set pAlpnProtos as a string, yet transport_secure_sockets.c#L267 assumes the number of separate protocols is the length of this string.
Checklist:
[X] I have tested my changes. No regression in existing tests.
[x] My code is Linted.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Description
As detailed in #3516, the expectation and use of
pAlpnProtos
was that of a string, but it's propagated to lower layers as an array of strings instead. Incorrectly calculating the number of separate protocols as the demos setpAlpnProtos
as a string, yet transport_secure_sockets.c#L267 assumes the number of separate protocols is the length of this string.Checklist:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.