修改编译错误。

This commit is contained in:
zhengchao
2018-10-29 15:17:11 +08:00
parent 211031c9a3
commit fd0c9ce6c2
3 changed files with 5 additions and 4 deletions

View File

@@ -147,7 +147,7 @@ int main()
printf("cipher suites: %s\n", chello2->cipher_suites);
printf("cipher suites for tls1.3: %s\n", chello2->cipher_suites_tls13);
printf("sni: %s\n", chello2->sni);
char* alpn = parse_alpn(chello2->alpn);
char* alpn = parse_alpn((char*)chello2->alpn);
printf("alpn: %s\n", alpn);
free(alpn);
alpn = NULL;