diff options
| author | Tobias Brunner <tobias@strongswan.org> | 2015-05-05 09:39:11 +0200 |
|---|---|---|
| committer | Tobias Brunner <tobias@strongswan.org> | 2015-05-05 10:55:13 +0200 |
| commit | 59565ebf6051d8c5048c759be3bbcac1b3b3f9e0 (patch) | |
| tree | 2cb875193395c95b66ad7c912e3cb7bcce435512 /src/libcharon/plugins/vici/python | |
| parent | d648d61375f6c8e13eb76e322e5423fea393ccc4 (diff) | |
| download | strongswan-59565ebf6051d8c5048c759be3bbcac1b3b3f9e0.tar.bz2 strongswan-59565ebf6051d8c5048c759be3bbcac1b3b3f9e0.tar.xz | |
ike-init: Fix error handling if nonceg can't be created
Returning FAILED in the constructor is wrong, but returning NULL doesn't work
either as it's currently assumed tasks always can be created.
Therefore, delay this check until we actually try to allocate a nonce.
Diffstat (limited to 'src/libcharon/plugins/vici/python')
0 files changed, 0 insertions, 0 deletions
