summaryrefslogtreecommitdiffstats
path: root/ssl/s23_clnt.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2015-02-06 10:52:12 -0500
committerRich Salz <rsalz@openssl.org>2015-02-06 10:52:12 -0500
commit9e9858d1cf28e39cfd214b5c508188d5016728fd (patch)
tree60f08154ebe96d68e44af0bc309c283a4dc8666d /ssl/s23_clnt.c
parent5b18d3025c1c1d36be8f81f137265b46da58f881 (diff)
dead code cleanup: #if 0 in ssl
I left many "#if 0" lines, usually because I thought we would probably want to revisit them later, or because they provided some useful internal documentation tips. Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'ssl/s23_clnt.c')
-rw-r--r--ssl/s23_clnt.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/ssl/s23_clnt.c b/ssl/s23_clnt.c
index 05fef3cbeb..e04d3af9f6 100644
--- a/ssl/s23_clnt.c
+++ b/ssl/s23_clnt.c
@@ -324,13 +324,6 @@ static int ssl23_client_hello(SSL *s)
buf = (unsigned char *)s->init_buf->data;
if (s->state == SSL23_ST_CW_CLNT_HELLO_A) {
-#if 0
- /* don't reuse session-id's */
- if (!ssl_get_new_session(s, 0)) {
- return (-1);
- }
-#endif
-
p = s->s3->client_random;
if (ssl_fill_hello_random(s, 0, p, SSL3_RANDOM_SIZE) <= 0)
return -1;