summaryrefslogtreecommitdiffstats
path: root/crypto_polarssl.c
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.c
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.c')
-rw-r--r--crypto_polarssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto_polarssl.c b/crypto_polarssl.c
index ad246fd..8119d58 100644
--- a/crypto_polarssl.c
+++ b/crypto_polarssl.c
@@ -399,7 +399,7 @@ int cipher_ctx_final (cipher_context_t *ctx, uint8_t *dst, int *dst_len)
}
void
-cipher_des_encrypt_ecb (const unsigned char key[DES_KEY_SIZE],
+cipher_des_encrypt_ecb (const unsigned char key[DES_KEY_LENGTH],
unsigned char *src,
unsigned char *dst)
{