From 9554319f0bb7517793d2ee4db281a968416c8d53 Mon Sep 17 00:00:00 2001 From: Ryan Riske Date: Sat, 24 May 2014 23:59:54 -0500 Subject: Bug 220: Add support for SHA2 hashes --- .../vpn/ipsec/esp-group/node.tag/proposal/node.tag/hash/node.def | 5 ++++- .../vpn/ipsec/ike-group/node.tag/proposal/node.tag/hash/node.def | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/templates/vpn/ipsec/esp-group/node.tag/proposal/node.tag/hash/node.def b/templates/vpn/ipsec/esp-group/node.tag/proposal/node.tag/hash/node.def index 681f008..7d5651c 100644 --- a/templates/vpn/ipsec/esp-group/node.tag/proposal/node.tag/hash/node.def +++ b/templates/vpn/ipsec/esp-group/node.tag/proposal/node.tag/hash/node.def @@ -1,6 +1,9 @@ help: Hash algorithm type: txt default: "sha1" -syntax:expression: $VAR(@) in "md5", "sha1"; "must be md5 or sha1" +syntax:expression: $VAR(@) in "md5", "sha1", "sha256", "sha384", "sha512"; "must be md5, sha1, sha256, sha384 or sha512" val_help: md5; MD5 hash val_help: sha1; SHA1 hash (default) +val_help: sha256; SHA2-256 hash +val_help: sha384; SHA2-384 hash +val_help: sha512; SHA2-512 hash diff --git a/templates/vpn/ipsec/ike-group/node.tag/proposal/node.tag/hash/node.def b/templates/vpn/ipsec/ike-group/node.tag/proposal/node.tag/hash/node.def index 681f008..7d5651c 100644 --- a/templates/vpn/ipsec/ike-group/node.tag/proposal/node.tag/hash/node.def +++ b/templates/vpn/ipsec/ike-group/node.tag/proposal/node.tag/hash/node.def @@ -1,6 +1,9 @@ help: Hash algorithm type: txt default: "sha1" -syntax:expression: $VAR(@) in "md5", "sha1"; "must be md5 or sha1" +syntax:expression: $VAR(@) in "md5", "sha1", "sha256", "sha384", "sha512"; "must be md5, sha1, sha256, sha384 or sha512" val_help: md5; MD5 hash val_help: sha1; SHA1 hash (default) +val_help: sha256; SHA2-256 hash +val_help: sha384; SHA2-384 hash +val_help: sha512; SHA2-512 hash -- cgit v1.2.3