summaryrefslogtreecommitdiff
path: root/src/tls_wrap.h
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2014-02-18 02:47:33 +0400
committerFedor Indutny <fedor.indutny@gmail.com>2014-02-18 03:22:18 +0400
commit7589a0007c2ad8ab9178bfe626f835e6b0b6f48c (patch)
treef91459f87b02336c957f8978962bed6511119041 /src/tls_wrap.h
parent75ea11fc08019bb1ffac81583ed7d0da3241a5b5 (diff)
downloadandroid-node-v8-7589a0007c2ad8ab9178bfe626f835e6b0b6f48c.tar.gz
android-node-v8-7589a0007c2ad8ab9178bfe626f835e6b0b6f48c.tar.bz2
android-node-v8-7589a0007c2ad8ab9178bfe626f835e6b0b6f48c.zip
crypto: make NewSessionDoneCb public
Generic friend classes do not work well with old compiler versions (and MSVC).
Diffstat (limited to 'src/tls_wrap.h')
-rw-r--r--src/tls_wrap.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tls_wrap.h b/src/tls_wrap.h
index 646e70108f..13a53bfb30 100644
--- a/src/tls_wrap.h
+++ b/src/tls_wrap.h
@@ -67,6 +67,8 @@ class TLSCallbacks : public crypto::SSLWrap<TLSCallbacks>,
uv_handle_type pending);
int DoShutdown(ShutdownWrap* req_wrap, uv_shutdown_cb cb);
+ void NewSessionDoneCb();
+
protected:
static const int kClearOutChunkSize = 1024;
@@ -102,7 +104,6 @@ class TLSCallbacks : public crypto::SSLWrap<TLSCallbacks>,
void ClearOut();
void MakePending();
bool InvokeQueued(int status);
- void NewSessionDoneCb();
inline void Cycle() {
// Prevent recursion
@@ -163,8 +164,6 @@ class TLSCallbacks : public crypto::SSLWrap<TLSCallbacks>,
static size_t error_off_;
static char error_buf_[1024];
-
- friend class SSLWrap<TLSCallbacks>;
};
} // namespace node