Use modified encryption payload to encrypt/decrypt complete IKEv1 messages.
[strongswan.git] / src / libcharon / encoding / generator.c
index c681929..2c9298e 100644 (file)
@@ -449,6 +449,7 @@ METHOD(generator_t, generate_payload, void,
                        case ADDRESS:
                        case SPI:
                        case CHUNK_DATA:
+                       case ENCRYPTED_DATA:
                                generate_from_chunk(this, rules[i].offset);
                                break;
                        case PAYLOAD_LIST + PROPOSAL_SUBSTRUCTURE: