payloads are not aligned to 4 byte boundaries
authorAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 25 Oct 2010 17:31:07 +0000 (19:31 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 25 Oct 2010 17:31:07 +0000 (19:31 +0200)
src/pluto/modecfg.c

index 0d0cd89..a2acce2 100644 (file)
@@ -419,7 +419,7 @@ static stf_status modecfg_build_msg(struct state *st, pb_stream *rbody,
                close_output_pbs(&attrval);
        }
        enumerator->destroy(enumerator);
-       close_message(&strattr);
+       close_output_pbs(&strattr);
        
        modecfg_hash(r_hashval, r_hash_start, rbody->cur, st);
        close_message(rbody);