diff options
author | Martin Willi <martin@strongswan.org> | 2008-11-22 16:14:55 +0000 |
---|---|---|
committer | Martin Willi <martin@strongswan.org> | 2008-11-22 16:14:55 +0000 |
commit | a20abb81e9ffcc7e7b6baecb971272de20a17755 (patch) | |
tree | 159ebb976de95aa64fe8e31c15850708e8af4c1d /src/libstrongswan/crypto/diffie_hellman.c | |
parent | 8f45ece098abf2a5a970fee54bbbccc2b77d426a (diff) | |
download | strongswan-a20abb81e9ffcc7e7b6baecb971272de20a17755.tar.bz2 strongswan-a20abb81e9ffcc7e7b6baecb971272de20a17755.tar.xz |
added a MODP_NULL Diffie Hellman group to avoid calculation overhead in load-testing
Diffstat (limited to 'src/libstrongswan/crypto/diffie_hellman.c')
-rw-r--r-- | src/libstrongswan/crypto/diffie_hellman.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libstrongswan/crypto/diffie_hellman.c b/src/libstrongswan/crypto/diffie_hellman.c index fb17898d0..c6e4482de 100644 --- a/src/libstrongswan/crypto/diffie_hellman.c +++ b/src/libstrongswan/crypto/diffie_hellman.c @@ -36,5 +36,7 @@ ENUM_NEXT(diffie_hellman_group_names, MODP_2048_BIT, ECP_521_BIT, MODP_1536_BIT, ENUM_NEXT(diffie_hellman_group_names, ECP_192_BIT, ECP_224_BIT, ECP_521_BIT, "ECP_192_BIT", "ECP_224_BIT"); -ENUM_END(diffie_hellman_group_names, ECP_224_BIT); +ENUM_NEXT(diffie_hellman_group_names, MODP_NULL, MODP_NULL, ECP_224_BIT, + "MODP_NULL"); +ENUM_END(diffie_hellman_group_names, MODP_NULL); |