mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-04 09:11:33 +02:00
tests/tls: Disable checks for ALPN on apple platforms
On Apple platforms, ALPN does not work as securetransport does not provide any public API for that. So do not check for that feature until support is added.
This commit is contained in:
parent
165f0b11dd
commit
784ab6ce69
@ -201,9 +201,13 @@ int main(void)
|
||||
answer = 1;
|
||||
val = securepair(&th, &tls, alpnv, &alp);
|
||||
assert(val == 0);
|
||||
|
||||
/* SecureTransport, used on apple platforms, does not support ALPN */
|
||||
#ifndef __APPLE__
|
||||
assert(alp != NULL);
|
||||
assert(!strcmp(alp, "bar"));
|
||||
free(alp);
|
||||
#endif
|
||||
|
||||
/* Do some I/O */
|
||||
char buf[12];
|
||||
|
Loading…
Reference in New Issue
Block a user