summaryrefslogtreecommitdiffstats
path: root/net/third_party/nss/ssl/ssl.h
diff options
context:
space:
mode:
authorrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-27 02:14:24 +0000
committerrsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-27 02:14:24 +0000
commita8fed174c1c3d7095cb2bad96f4f8f62c0f0d186 (patch)
tree0d9c4214af2c4c6663c67d8c080664103d8b08fc /net/third_party/nss/ssl/ssl.h
parent7e2df05e3dd8e9ac6e30f71e1da1e122e89b20ba (diff)
downloadchromium_src-a8fed174c1c3d7095cb2bad96f4f8f62c0f0d186.zip
chromium_src-a8fed174c1c3d7095cb2bad96f4f8f62c0f0d186.tar.gz
chromium_src-a8fed174c1c3d7095cb2bad96f4f8f62c0f0d186.tar.bz2
Defer TLS session caching until after certificate verification
BUG=305220 R=wtc Review URL: https://codereview.chromium.org/112183006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@242585 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/third_party/nss/ssl/ssl.h')
-rw-r--r--net/third_party/nss/ssl/ssl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/net/third_party/nss/ssl/ssl.h b/net/third_party/nss/ssl/ssl.h
index bef33fc..6f7c988 100644
--- a/net/third_party/nss/ssl/ssl.h
+++ b/net/third_party/nss/ssl/ssl.h
@@ -872,6 +872,18 @@ SSL_IMPORT int SSL_DataPending(PRFileDesc *fd);
SSL_IMPORT SECStatus SSL_InvalidateSession(PRFileDesc *fd);
/*
+** Cache the SSL session associated with fd, if it has not already been cached.
+*/
+SSL_IMPORT SECStatus SSL_CacheSession(PRFileDesc *fd);
+
+/*
+** Cache the SSL session associated with fd, if it has not already been cached.
+** This function may only be called when processing within a callback assigned
+** via SSL_HandshakeCallback
+*/
+SSL_IMPORT SECStatus SSL_CacheSessionUnlocked(PRFileDesc *fd);
+
+/*
** Return a SECItem containing the SSL session ID associated with the fd.
*/
SSL_IMPORT SECItem *SSL_GetSessionID(PRFileDesc *fd);