Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SoftEtherVPN/SoftEtherVPN_Stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoataz Elmasry <moataz.elmasry2@gmail.com>2017-01-23 04:03:37 +0300
committerMoataz Elmasry <moataz.elmasry2@gmail.com>2017-01-23 04:03:37 +0300
commit071004477fa1474777e4fd5f42ff693db7aaeac7 (patch)
tree101758ffae0db3c650f4ae092e84fb12479b6c32 /src/Cedar/IPsec_IkePacket.c
parent29234b7f9a4f4c7bc61360abd6e24323d6f9b2c2 (diff)
Fix errors while adding SHA2 support to HMAC
Diffstat (limited to 'src/Cedar/IPsec_IkePacket.c')
-rw-r--r--src/Cedar/IPsec_IkePacket.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Cedar/IPsec_IkePacket.c b/src/Cedar/IPsec_IkePacket.c
index 6550247e..0c83752b 100644
--- a/src/Cedar/IPsec_IkePacket.c
+++ b/src/Cedar/IPsec_IkePacket.c
@@ -2616,9 +2616,9 @@ IKE_ENGINE *NewIkeEngine()
e->IkeCryptos[IKE_P1_CRYPTO_AES_CBC] = aes;
e->IkeHashes[IKE_P1_HASH_MD5] = md5;
e->IkeHashes[IKE_P1_HASH_SHA1] = sha1;
- //e->IkeHashes[IKE_P1_HASH_SHA2_256] = sha2_256;
- //e->IkeHashes[IKE_P1_HASH_SHA2_384] = sha2_384;
- //e->IkeHashes[IKE_P1_HASH_SHA2_512] = sha2_512;
+ e->IkeHashes[IKE_P1_HASH_SHA2_256] = sha2_256;
+ e->IkeHashes[IKE_P1_HASH_SHA2_384] = sha2_384;
+ e->IkeHashes[IKE_P1_HASH_SHA2_512] = sha2_512;
// Definition of ESP algorithm