From eaacf8d8f289fefa9a64b85e72552f949d4c28c6 Mon Sep 17 00:00:00 2001 From: Adriaan de Jong Date: Sun, 16 Oct 2011 15:56:31 +0200 Subject: 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 Acked-by: David Sommerseth Signed-off-by: David Sommerseth --- crypto_polarssl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto_polarssl.h') 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 -- cgit