PR: 2505
[oweals/openssl.git] / ssl / s3_pkt.c
index a1b4a6569ce9cba82f11e0047fa70efebaae5538..e166a510b97a3bd259b4db7a6328202a15588392 100644 (file)
@@ -1319,7 +1319,9 @@ start:
                {
        default:
 #ifndef OPENSSL_NO_TLS
-               /* TLS just ignores unknown message types */
+               /* TLS up to v1.1 just ignores unknown message types:
+                * TLS v1.2 give an unexpected message alert.
+                */
                if (s->version >= TLS1_VERSION && s->version <= TLS1_1_VERSION)
                        {
                        rr->length = 0;