Commit 09d907ee authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

nss: support pre-ALPN versions

parent f3a12460
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -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;