]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_md5.cpp
Support SASL messages other than 'C' and 'D'
[user/henk/code/inspircd.git] / src / modules / m_md5.cpp
index f8f13dcbcefd9629d0e1d53b503913f59e0b37d9..14ccf16a8c8ff87ae18d2088d89ccce08ac7a398 100644 (file)
@@ -158,7 +158,7 @@ class MD5Provider : public HashProvider
 
                byteSwap(ctx->buf, 4);
                memcpy(digest, ctx->buf, 16);
-               memset(ctx, 0, sizeof(ctx));
+               memset(ctx, 0, sizeof(*ctx));
        }
 
        void MD5Transform(word32 buf[4], word32 const in[16])