diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-18 22:44:49 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-08-18 22:44:49 +0000 |
commit | 25ef8cc436061a6a9676cd40f3bbf76731fa297f (patch) | |
tree | 74ffb8f5684a7ed192c19d6e74892d466a1ccb2b | |
parent | 4ca5fb1994541181f940a692bce47eb11d681e7a (diff) |
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
-rw-r--r-- | src/commands/cmd_info.cpp | 3 | ||||
-rw-r--r-- | src/modules/extra/m_ssl_openssl.cpp | 2 |
2 files changed, 4 insertions, 1 deletions
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<std::string>&, 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); |