Avoid repeatedly scanning the list of extensions
[openssl.git] / ssl / statem / extensions_srvr.c
index 1b9a820c986568fca4de12daf04a90ae6cf708b4..3369d5cd70b6da54a4a244df665aafe4d9290d5a 100644 (file)
@@ -522,9 +522,7 @@ int tls_parse_client_key_share(SSL *s, PACKET *pkt, int *al)
     }
 
     /*
-     * Get the clients list of supported curves. Note: We rely on the fact
-     * extension parsing happens in order of type. supported_groups has a lower
-     * type than key_share so will have been processed first.
+     * Get the clients list of supported curves.
      * TODO(TLS1.3): We should validate that we actually received
      * supported_groups!
      */