diff options
| author | 2007-04-09 15:18:13 +0000 | |
|---|---|---|
| committer | 2007-04-09 15:18:13 +0000 | |
| commit | fdecf7fb707c415a54c3f41fd45fbc41f6ae4f3d (patch) | |
| tree | 7730255f3fddbbc2d2707af7a0a5b9964aab05fb /src/modules/m_spanningtree/treesocket.h | |
| parent | Test code that pretends to send a hashed value if its got a challenge - don't... (diff) | |
| download | inspircd++-fdecf7fb707c415a54c3f41fd45fbc41f6ae4f3d.tar.gz inspircd++-fdecf7fb707c415a54c3f41fd45fbc41f6ae4f3d.tar.bz2 inspircd++-fdecf7fb707c415a54c3f41fd45fbc41f6ae4f3d.zip | |
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
Diffstat (limited to 'src/modules/m_spanningtree/treesocket.h')
| -rw-r--r-- | src/modules/m_spanningtree/treesocket.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
