masaori335 commented on code in PR #11844:
URL: https://github.com/apache/trafficserver/pull/11844#discussion_r1830236680


##########
src/iocore/net/SSLUtils.cc:
##########
@@ -1086,6 +1086,20 @@ ssl_callback_info(const SSL *ssl, int where, int ret)
       }
       Metrics::Counter::increment(it->second);
     }
+
+#if defined(OPENSSL_IS_BORINGSSL) || defined(SSL_get_negotiated_group)
+    // TLS Group
+#ifdef OPENSSL_IS_BORINGSSL
+    int nid = SSL_get_negotiated_group(ssl);
+#elif defined(SSL_get_negotiated_group)
+    int nid = SSL_get_negotiated_group(const_cast<SSL *>(ssl));
+#endif
+    if (nid != NID_undef) {
+      if (auto it = tls_group_map.find(nid); it != tls_group_map.end()) {

Review Comment:
   BoringSSL has an API to get NID from group name?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to