summaryrefslogtreecommitdiffstats
path: root/net/tools/flip_server/spdy_ssl.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/tools/flip_server/spdy_ssl.cc')
-rw-r--r--net/tools/flip_server/spdy_ssl.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/tools/flip_server/spdy_ssl.cc b/net/tools/flip_server/spdy_ssl.cc
index 1f18a0b..2a5cb0e 100644
--- a/net/tools/flip_server/spdy_ssl.cc
+++ b/net/tools/flip_server/spdy_ssl.cc
@@ -42,9 +42,7 @@ void InitSSL(SSLState* state,
PrintSslError();
state->ssl_method = SSLv23_method();
- // TODO(joth): Remove const_cast when the openssl 1.0.0 upgrade is complete.
- // (See http://codereview.chromium.org/9254031).
- state->ssl_ctx = SSL_CTX_new(const_cast<SSL_METHOD*>(state->ssl_method));
+ state->ssl_ctx = SSL_CTX_new(state->ssl_method);
if (!state->ssl_ctx) {
PrintSslError();
LOG(FATAL) << "Unable to create SSL context";