sizeof(array_arg) doesn't work as expected so use digest length macros
[freeradius.git] / src / modules / rlm_mschap / mschap.h
index e024016..6fcc485 100644 (file)
@@ -5,6 +5,9 @@
 
 RCSIDH(mschap_h, "$Id$")
 
+#define NT_DIGEST_LENGTH 16
+#define LM_DIGEST_LENGTH 16
+
 int mschap_ntpwdhash(uint8_t *out, char const *password);
 void mschap_challenge_hash(uint8_t const *peer_challenge,
                            uint8_t const *auth_challenge,