Memwipe request after sa update, too
authorThomas Egerer <thomas.egerer@secunet.com>
Fri, 4 Nov 2011 08:25:01 +0000 (09:25 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 4 Nov 2011 10:11:17 +0000 (11:11 +0100)
src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c

index f747121..e51aeaf 100644 (file)
@@ -1957,6 +1957,7 @@ failed:
        free(replay);
        free(replay_esn);
        memwipe(out, len);
+       memwipe(request, sizeof(request));
        free(out);
 
        return status;