From f7f05420afafac48a72565646ac6990f6be4572e Mon Sep 17 00:00:00 2001 From: hope4hope Date: Sat, 10 Jun 2017 14:00:30 +0300 Subject: [PATCH] Update Interop_OpenVPN.h Safer connection --- src/Cedar/Interop_OpenVPN.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Cedar/Interop_OpenVPN.h b/src/Cedar/Interop_OpenVPN.h index 20e53bb8..24693c59 100644 --- a/src/Cedar/Interop_OpenVPN.h +++ b/src/Cedar/Interop_OpenVPN.h @@ -139,8 +139,8 @@ // The default algorithm -#define OPENVPN_DEFAULT_CIPHER "AES-128-CBC" -#define OPENVPN_DEFAULT_MD "SHA1" +#define OPENVPN_DEFAULT_CIPHER "AES-256-CBC" +#define OPENVPN_DEFAULT_MD "RMD160" // Encryption related #define OPENVPN_PREMASTER_LABEL "OpenVPN master secret" @@ -312,7 +312,7 @@ struct OPENVPN_SERVER_UDP }; // OpenVPN Default Client Option String -#define OVPN_DEF_CLIENT_OPTION_STRING "dev-type tun,link-mtu 1500,tun-mtu 1500,cipher AES-128-CBC,auth SHA1,keysize 128,key-method 2,tls-client" +#define OVPN_DEF_CLIENT_OPTION_STRING "dev-type tun,link-mtu 1500,tun-mtu 1500,cipher AES-256-CBC,auth RMD160,keysize 128,key-method 2,tls-client" //// Function prototype