summaryrefslogtreecommitdiffstats
path: root/crypto_polarssl.h
diff options
context:
space:
mode:
authorAdriaan de Jong <dejong@fox-it.com>2011-10-24 10:46:00 +0200
committerDavid Sommerseth <davids@redhat.com>2011-10-24 12:46:02 +0200
commit9788322b9566101119484d992364e8b1bb1d4dd4 (patch)
tree409c1df772bfe63a96865aef2ce455771e1de4da /crypto_polarssl.h
parent31ea2ee4ca642a4d8bbdac3dadb44eca11f52e35 (diff)
downloadopenvpn-9788322b9566101119484d992364e8b1bb1d4dd4.tar.gz
openvpn-9788322b9566101119484d992364e8b1bb1d4dd4.tar.xz
openvpn-9788322b9566101119484d992364e8b1bb1d4dd4.zip
Got rid of a few magic numbers in ntlm.c
Signed-off-by: Adriaan de Jong <dejong@fox-it.com> Acked-by: James Yonan <james@openvpn.net> Acked-by: David Sommerseth <davids@redhat.com> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'crypto_polarssl.h')
-rw-r--r--crypto_polarssl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto_polarssl.h b/crypto_polarssl.h
index 3ac2c96..358483a 100644
--- a/crypto_polarssl.h
+++ b/crypto_polarssl.h
@@ -66,7 +66,9 @@ typedef md_context_t hmac_ctx_t;
/** Cipher should decrypt */
#define OPENVPN_OP_DECRYPT POLARSSL_DECRYPT
+#define MD4_DIGEST_LENGTH 16
#define MD5_DIGEST_LENGTH 16
#define SHA_DIGEST_LENGTH 20
+#define DES_KEY_LENGTH 8
#endif /* CRYPTO_POLARSSL_H_ */