diff options
author | Adriaan de Jong | 2011-06-23 09:41:28 +0200 |
---|---|---|
committer | David Sommerseth | 2011-10-19 22:05:45 +0200 |
commit | 23ee3563de28820919fe83f8f5b7289dc4ed42ae (patch) | |
tree | c34550b54b8ed462ebff249e7fc634cd94056026 /crypto.c | |
parent | b5738e5b858274785eff30edb4748e3f641e0b1c (diff) | |
download | openvpn-23ee3563de28820919fe83f8f5b7289dc4ed42ae.zip openvpn-23ee3563de28820919fe83f8f5b7289dc4ed42ae.tar.gz |
Refactored maximum cipher and hmac length constants
Signed-off-by: Adriaan de Jong <dejong@fox-it.com>
Acked-by: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'crypto.c')
-rw-r--r-- | crypto.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -34,18 +34,6 @@ #include "memdbg.h" /* - * Check for key size creepage. - */ - -#if MAX_CIPHER_KEY_LENGTH < EVP_MAX_KEY_LENGTH -#warning Some OpenSSL EVP ciphers now support key lengths greater than MAX_CIPHER_KEY_LENGTH -- consider increasing MAX_CIPHER_KEY_LENGTH -#endif - -#if MAX_HMAC_KEY_LENGTH < EVP_MAX_MD_SIZE -#warning Some OpenSSL HMAC message digests now support key lengths greater than MAX_HMAC_KEY_LENGTH -- consider increasing MAX_HMAC_KEY_LENGTH -#endif - -/* * Encryption and Compression Routines. * * On entry, buf contains the input data and length. |