Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1862)

Unified Diff: net/socket/nss_ssl_util.h

Issue 757033004: Do not use HTTP/2 without adequate security. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move logic to SSLClientSocket. Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/socket/nss_ssl_util.h
diff --git a/net/socket/nss_ssl_util.h b/net/socket/nss_ssl_util.h
index 7b046ffd282aec5c1a066220fbd6580865cfe03b..1e995652c86c47e1b895aa4dd5ccc1557521e31a 100644
--- a/net/socket/nss_ssl_util.h
+++ b/net/socket/nss_ssl_util.h
@@ -33,6 +33,9 @@ PRErrorCode MapErrorToNSS(int result);
// to |SSL_ImportFD| in order to inherit some default options.
PRFileDesc* GetNSSModelSocket();
+// Return cipher suites enabled upon NSS SSL library initialization.
+const std::vector<uint16>& GetNSSEnabledCipherSuites();
+
// Map NSS error code to network error code.
int MapNSSError(PRErrorCode err);

Powered by Google App Engine
This is Rietveld 408576698