]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
Added NTRU key exchange to default IKE proposal
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 22 Nov 2013 20:24:51 +0000 (21:24 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 27 Nov 2013 19:21:41 +0000 (20:21 +0100)
src/libcharon/config/proposal.c

index 1f3f2ba8b0ea98cdbbce6b8d1600782e9a1e4a6a..891d1be8435016968f5b8f0eeb023a5f5e0a88a1 100644 (file)
@@ -741,6 +741,10 @@ static void proposal_add_supported_ike(private_proposal_t *this)
                        case ECP_256_BP:
                        case ECP_384_BP:
                        case ECP_512_BP:
+                       case NTRU_112_BIT:
+                       case NTRU_128_BIT:
+                       case NTRU_192_BIT:
+                       case NTRU_256_BIT:
                                add_algorithm(this, DIFFIE_HELLMAN_GROUP, group, 0);
                                break;
                        default: