From 25ef8cc436061a6a9676cd40f3bbf76731fa297f Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 18 Aug 2008 22:44:49 +0000 Subject: Forward-port r10160: openssl partial write fucking shit up, add Namegduf to contributors git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10161 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_info.cpp | 3 ++- src/modules/extra/m_ssl_openssl.cpp | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/commands/cmd_info.cpp b/src/commands/cmd_info.cpp index d5da1cf7b..67c31fe4c 100644 --- a/src/commands/cmd_info.cpp +++ b/src/commands/cmd_info.cpp @@ -41,7 +41,8 @@ CmdResult CommandInfo::Handle (const std::vector&, User *user) user->WriteNumeric(RPL_INFO, "%s : satmd nenolod John2 Skip", user->nick.c_str()); user->WriteNumeric(RPL_INFO, "%s : jilles Majic eggy Trystan", user->nick.c_str()); user->WriteNumeric(RPL_INFO, "%s : Quension danieldg praetorian", user->nick.c_str()); - user->WriteNumeric(RPL_INFO, "%s : GreenReaper psychon searchirc.com irc-junkie.org", user->nick.c_str()); + user->WriteNumeric(RPL_INFO, "%s : GreenReaper psychon Namegduf", user->nick.c_str()); + user->WriteNumeric(RPL_INFO, "%s : searchirc.com irc-junkie.org", user->nick.c_str()); user->WriteNumeric(RPL_INFO, "%s : ", user->nick.c_str()); user->WriteNumeric(RPL_INFO, "%s :\2Other Contributors\2:", user->nick.c_str()); user->WriteNumeric(RPL_INFO, "%s : dmb Zaba skenmy LeaChim", user->nick.c_str()); diff --git a/src/modules/extra/m_ssl_openssl.cpp b/src/modules/extra/m_ssl_openssl.cpp index 83ae36e73..3f564bc1f 100644 --- a/src/modules/extra/m_ssl_openssl.cpp +++ b/src/modules/extra/m_ssl_openssl.cpp @@ -152,6 +152,8 @@ class ModuleSSLOpenSSL : public Module ctx = SSL_CTX_new( SSLv23_server_method() ); clictx = SSL_CTX_new( SSLv23_client_method() ); + SSL_CTX_set_mode(ctx, SSL_MODE_ENABLE_PARTIAL_WRITE | SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER); + SSL_CTX_set_verify(ctx, SSL_VERIFY_PEER | SSL_VERIFY_CLIENT_ONCE, OnVerify); SSL_CTX_set_verify(clictx, SSL_VERIFY_PEER | SSL_VERIFY_CLIENT_ONCE, OnVerify); -- cgit v1.2.3