ipsec: fix use of uninitialized variable