提交 8580e55a 编写于 作者: H Herbert Xu

tls: Remove completion function scaffolding

This patch removes the temporary scaffolding now that the comletion
function signature has been converted.
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 65cb4657
......@@ -179,9 +179,9 @@ static int tls_padding_length(struct tls_prot_info *prot, struct sk_buff *skb,
return sub;
}
static void tls_decrypt_done(crypto_completion_data_t *data, int err)
static void tls_decrypt_done(void *data, int err)
{
struct aead_request *aead_req = crypto_get_completion_data(data);
struct aead_request *aead_req = data;
struct crypto_aead *aead = crypto_aead_reqtfm(aead_req);
struct scatterlist *sgout = aead_req->dst;
struct scatterlist *sgin = aead_req->src;
......@@ -428,9 +428,9 @@ int tls_tx_records(struct sock *sk, int flags)
return rc;
}
static void tls_encrypt_done(crypto_completion_data_t *data, int err)
static void tls_encrypt_done(void *data, int err)
{
struct aead_request *aead_req = crypto_get_completion_data(data);
struct aead_request *aead_req = data;
struct tls_sw_context_tx *ctx;
struct tls_context *tls_ctx;
struct tls_prot_info *prot;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册