Commit 784ab6ce authored by David's avatar David
Browse files

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.
parent 165f0b11
......@@ -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"));
/* Do some I/O */
char buf[12];
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment