Index: net/socket/nss_ssl_util.h |
diff --git a/net/socket/nss_ssl_util.h b/net/socket/nss_ssl_util.h |
index 2a53fc75d30ab38866aa39c1b9fe3cd2d8dec933..668bfe25668dfccbc5b3aa2e9775eea3ac2a2386 100644 |
--- a/net/socket/nss_ssl_util.h |
+++ b/net/socket/nss_ssl_util.h |
@@ -9,6 +9,7 @@ |
#define NET_SOCKET_NSS_SSL_UTIL_H_ |
#include <prerror.h> |
+#include <sslt.h> |
namespace net { |
@@ -31,6 +32,9 @@ int MapNSSError(PRErrorCode err); |
// Map NSS error code from the first SSL handshake to network error code. |
int MapNSSHandshakeError(PRErrorCode err); |
+// Returns whether an NSS cipher's key exchange algorithm (KEA) uses SRP. |
+bool IsNSSCipherKEATypeSRP(SSLKEAType kea_type); |
+ |
} // namespace net |
#endif // NET_SOCKET_NSS_SSL_UTIL_H_ |