Index: net/ssl/ssl_cipher_suite_names.h |
diff --git a/net/ssl/ssl_cipher_suite_names.h b/net/ssl/ssl_cipher_suite_names.h |
index f7aea964b916a1e8dd361f515d8330d27092430d..207dbfbb8ed632757f340501b8097bbbf0d87e96 100644 |
--- a/net/ssl/ssl_cipher_suite_names.h |
+++ b/net/ssl/ssl_cipher_suite_names.h |
@@ -60,6 +60,11 @@ NET_EXPORT bool IsSecureTLSCipherSuite(uint16 cipher_suite); |
// Returns true if |cipher_suite| is suitable for use with False Start. |
NET_EXPORT bool IsFalseStartableTLSCipherSuite(uint16 cipher_suite); |
+// Returns the static curve name of |key_exchange_info| if the |cipher_suite| |
+// is an elliptic curve, and a name is known. Returns nullptr otherwise. |
+// Only defined for OpenSSL, returns nullptr otherwise. |
+NET_EXPORT const char* ECCurveName(uint16 cipher_suite, int key_exchange_info); |
+ |
} // namespace net |
#endif // NET_SSL_SSL_CIPHER_SUITE_NAMES_H_ |