diff options
author | Adriaan de Jong <dejong@fox-it.com> | 2011-10-24 10:46:00 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2011-10-24 12:46:02 +0200 |
commit | 9788322b9566101119484d992364e8b1bb1d4dd4 (patch) | |
tree | 409c1df772bfe63a96865aef2ce455771e1de4da /crypto_backend.h | |
parent | 31ea2ee4ca642a4d8bbdac3dadb44eca11f52e35 (diff) | |
download | openvpn-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_backend.h')
-rw-r--r-- | crypto_backend.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto_backend.h b/crypto_backend.h index f16dc35..8622962 100644 --- a/crypto_backend.h +++ b/crypto_backend.h @@ -135,9 +135,9 @@ void key_des_fixup (uint8_t *key, int key_len, int ndc); * @param src Buffer containing the 8-byte source. * @param dst Buffer containing the 8-byte destination */ -void cipher_des_encrypt_ecb (const unsigned char key[8], - unsigned char src[8], - unsigned char dst[8]); +void cipher_des_encrypt_ecb (const unsigned char key[DES_KEY_LENGTH], + unsigned char src[DES_KEY_LENGTH], + unsigned char dst[DES_KEY_LENGTH]); /* * |