Encrypt payloads of third aggressive mode message
authorMartin Willi <martin@revosec.ch>
Mon, 9 Jan 2012 16:10:18 +0000 (17:10 +0100)
committerMartin Willi <martin@revosec.ch>
Tue, 20 Mar 2012 16:31:33 +0000 (17:31 +0100)
src/libcharon/encoding/message.c

index 46384a5..e603617 100644 (file)
@@ -510,9 +510,9 @@ static payload_rule_t aggressive_i_rules[] = {
        {CERTIFICATE_REQUEST_V1,        0,      MAX_CERTREQ_PAYLOADS,   FALSE,  FALSE},
        {NAT_D_V1,                                      0,      MAX_NAT_D_PAYLOADS,             FALSE,  FALSE},
        {ID_V1,                                         0,      1,                                              FALSE,  FALSE},
-       {CERTIFICATE_V1,                        0,      1,                                              FALSE,  FALSE},
-       {SIGNATURE_V1,                          0,      1,                                              FALSE,  FALSE},
-       {HASH_V1,                                       0,      1,                                              FALSE,  FALSE},
+       {CERTIFICATE_V1,                        0,      1,                                              TRUE,   FALSE},
+       {SIGNATURE_V1,                          0,      1,                                              TRUE,   FALSE},
+       {HASH_V1,                                       0,      1,                                              TRUE,   FALSE},
 };
 
 /**