summaryrefslogtreecommitdiffstats
path: root/crypto_polarssl.h
diff options
context:
space:
mode:
authorAdriaan de Jong <dejong@fox-it.com>2011-10-16 15:56:31 +0200
committerDavid Sommerseth <davids@redhat.com>2011-10-22 18:21:13 +0200
commiteaacf8d8f289fefa9a64b85e72552f949d4c28c6 (patch)
tree9a3a077f7f955ac35040796313ae0df2530c6784 /crypto_polarssl.h
parent0e282134d58b15c8fd21defb22c963e96b0d5372 (diff)
downloadopenvpn-eaacf8d8f289fefa9a64b85e72552f949d4c28c6.tar.gz
openvpn-eaacf8d8f289fefa9a64b85e72552f949d4c28c6.tar.xz
openvpn-eaacf8d8f289fefa9a64b85e72552f949d4c28c6.zip
Moved to PolarSSL 1.0.0:
- Reversed des_key_check_weak output check, as the library changed this - Changed POLARSSL_MODE_CFB to POLARSSL_MODE_CFB128 - Changed the bio write function to accept const input 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_polarssl.h')
-rw-r--r--crypto_polarssl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto_polarssl.h b/crypto_polarssl.h
index 0224917..3ac2c96 100644
--- a/crypto_polarssl.h
+++ b/crypto_polarssl.h
@@ -58,7 +58,7 @@ typedef md_context_t hmac_ctx_t;
#define OPENVPN_MODE_OFB POLARSSL_MODE_OFB
/** Cipher is in CFB mode */
-#define OPENVPN_MODE_CFB POLARSSL_MODE_CFB
+#define OPENVPN_MODE_CFB POLARSSL_MODE_CFB128
/** Cipher should encrypt */
#define OPENVPN_OP_ENCRYPT POLARSSL_ENCRYPT