Fix use after free.
[openssl.git] / apps / s_cb.c
index 160b5bd59da4e333e550fd622fa772f11d5fc78d..84c3b447c295350e852fb7a1832465513702f570 100644 (file)
@@ -436,6 +436,8 @@ void MS_CALLBACK msg_cb(int write_p, int version, int content_type, const void *
 
        if (version == SSL3_VERSION ||
            version == TLS1_VERSION ||
+           version == TLS1_1_VERSION ||
+           version == TLS1_2_VERSION ||
            version == DTLS1_VERSION ||
            version == DTLS1_BAD_VER)
                {