diff options
author | 2009-07-09 11:34:06 +0800 | |
---|---|---|
committer | 2009-07-09 11:34:06 +0800 | |
commit | 7ede5a5ba55a696a6e1d8456526e44635e966a81 (patch) | |
tree | 95e934009410a0080fb8f41ee4eb6f203978fb1d /crypto/api.c | |
parent | crypto: shash - Add shash_instance_ctx (diff) | |
download | wireguard-linux-7ede5a5ba55a696a6e1d8456526e44635e966a81.tar.xz wireguard-linux-7ede5a5ba55a696a6e1d8456526e44635e966a81.zip |
crypto: api - Fix crypto_drop_spawn crash on blank spawns
This patch allows crypto_drop_spawn to be called on spawns that
have not been initialised or have failed initialisation. This
fixes potential crashes during initialisation without adding
special case code.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions