From: Ian Jackson Date: Thu, 25 Jul 2013 17:30:52 +0000 (+0100) Subject: site: dynamically create and destroy transform instances X-Git-Tag: debian/0.3.0_beta2~11 X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/commitdiff_plain/fcad4b0b370b9fc232db98895fbfe22177436433?hp=fcad4b0b370b9fc232db98895fbfe22177436433 site: dynamically create and destroy transform instances Rather than making three transform instances at setup time, and then using setkey on them, we create transform instances as needed and destroy them when we delete their keys. This is necessary because we are going to support multiple different kinds of transform, so each one of the three transforms might be of different kinds (supplied by different secnet modules) at different times. The variables current.transform, auxiliary_key.transform and new_transform can all be NULL now. Signed-off-by: Ian Jackson ---