but they might have extensions
diff --git a/lib/picotls.c b/lib/picotls.c
index dcde89c..f7e2219 100644
--- a/lib/picotls.c
+++ b/lib/picotls.c
@@ -3561,8 +3561,9 @@
src = end;
});
- /* CH defined in TLS versions below 1.2 do not have extensions; so bail out after parsing the main variables */
- if (ch->legacy_version < 0x0303) {
+ /* CH defined in TLS versions below 1.2 might not have extensions; so bail out after parsing the main variables. They might
+ * have extensions, in which case we'd recognize them as OpenSSL does. */
+ if (ch->legacy_version < 0x0303 && src == end) {
ret = PTLS_ALERT_PROTOCOL_VERSION;
goto Exit;
}