From: Wenkai Lin linwenkai6@hisilicon.com
Fix for function discards 'const' qualifier warning.
Signed-off-by: Wenkai Lin linwenkai6@hisilicon.com Signed-off-by: JiangShui Yang yangjiangshui@h-partners.com --- src/uadk_aead.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/uadk_aead.c b/src/uadk_aead.c index 88fdb82..d23b9ca 100644 --- a/src/uadk_aead.c +++ b/src/uadk_aead.c @@ -456,7 +456,7 @@ static int uadk_e_aes_gcm_set_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void }
static int do_aead_sync_inner(struct aead_priv_ctx *priv, unsigned char *out, - unsigned char *in, size_t inlen, enum wd_aead_msg_state state) + const unsigned char *in, size_t inlen, enum wd_aead_msg_state state) { int ret;