From f6edba9e16464ae1ebbda44831ad6e897160eeb6 Mon Sep 17 00:00:00 2001 From: William Welliver Date: Tue, 1 Dec 2020 15:03:14 -0500 Subject: [PATCH] clean up a bit now that we're only using pike 8.0 --- server/protocols/ssl3.pike | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/server/protocols/ssl3.pike b/server/protocols/ssl3.pike index 541f13c0..bfcf2636 100644 --- a/server/protocols/ssl3.pike +++ b/server/protocols/ssl3.pike @@ -91,9 +91,9 @@ class roxen_ssl_context { private object new_context(object c) { -//#ifdef SSL3_DEBUG +#ifdef SSL3_DEBUG roxen_perror(sprintf("SSL3:new_context(X)\n")); -//#endif /* SSL3_DEBUG */ +#endif /* SSL3_DEBUG */ mapping contexts = caudium->query_var("ssl3_contexts"); object ctx = roxen_ssl_context(caudium); @@ -624,11 +624,8 @@ void create(void|object f, void|object c) my_fd->set_accept_callback(ssl_accept_callback); conf = c; my_fd->set_nonblocking(got_data,0,end); - if(my_fd->set_alert_callback) - my_fd->accept(); my_fd->set_alert_callback(http_fallback); - } else { // Main object. } -- 2.38.5