Commit 0bd42fde authored by Paul Yang's avatar Paul Yang Committed by Matt Caswell
Browse files

Fix a bug in ALPN comparation code of a test case

parent c7558d5b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1987,7 +1987,7 @@ static int alpn_select_cb(SSL *ssl, const unsigned char **out,
            return SSL_TLSEXT_ERR_NOACK;

        if (protlen == strlen(servalpn)
                && memcmp(prot, "goodalpn", protlen) == 0) {
                && memcmp(prot, servalpn, protlen) == 0) {
            *out = prot;
            *outlen = protlen;
            return SSL_TLSEXT_ERR_OK;