Fix reseeding issues of the public RAND_DRBG
[openssl.git] / test / sslapitest.c
index 3412aff17f1a519f25b9820e248c9722e7076cee..6267ce8e92aaccc5a35b66877d4488105b3d3b14 100644 (file)
@@ -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;