Skip to content
Commit 8d338c76 authored by Herbert Xu's avatar Herbert Xu
Browse files

tls: Only use data field in crypto completion function



The crypto_async_request passed to the completion is not guaranteed
to be the original request object.  Only the data field can be relied
upon.

Fix this by storing the socket pointer with the AEAD request.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 1dbab131
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment