From fdecf7fb707c415a54c3f41fd45fbc41f6ae4f3d Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 9 Apr 2007 15:18:13 +0000 Subject: Add basic HMAC suggested by jilles to make the auth not suck -- this is probably buggy, and the other side doesnt auth yet. do not use. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6769 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_spanningtree/treesocket.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree/treesocket.h') diff --git a/src/modules/m_spanningtree/treesocket.h b/src/modules/m_spanningtree/treesocket.h index 82a066be6..5af0b0eb9 100644 --- a/src/modules/m_spanningtree/treesocket.h +++ b/src/modules/m_spanningtree/treesocket.h @@ -152,7 +152,7 @@ class TreeSocket : public InspSocket /** Construct a password, optionally hashed with the other side's * challenge string */ - std::string MakePass(const std::string &password); + std::string MakePass(const std::string &password, const std::string &challenge); /** When an outbound connection finishes connecting, we receive * this event, and must send our SERVER string to the other -- cgit v1.3.1-10-gc9f91