mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
nss: support pre-ALPN versions
This commit is contained in:
parent
f3a12460ad
commit
09d907ee68
@ -632,9 +632,11 @@ static void HandshakeCallback(PRFileDesc *sock, void *arg)
|
||||
case SSL_NEXT_PROTO_NO_OVERLAP:
|
||||
infof(conn->data, "TLS, neither ALPN nor NPN succeeded\n");
|
||||
return;
|
||||
#ifdef SSL_NEXT_PROTO_SELECTED
|
||||
case SSL_NEXT_PROTO_SELECTED:
|
||||
infof(conn->data, "ALPN, server accepted to use %.*s\n", buflen, buf);
|
||||
break;
|
||||
#endif
|
||||
case SSL_NEXT_PROTO_NEGOTIATED:
|
||||
infof(conn->data, "NPN, server accepted to use %.*s\n", buflen, buf);
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user