mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
mbedtls-alt/dev-alt: complement cloning capability
Signed-off-by: makejian <makejian@xiaomi.com>
This commit is contained in:
parent
fff767e2ef
commit
b05c967ae6
1 changed files with 1 additions and 1 deletions
|
|
@ -94,5 +94,5 @@ int cryptodev_clone(FAR cryptodev_context_t *dst,
|
|||
{
|
||||
dst->session = src->session;
|
||||
dst->crypt = src->crypt;
|
||||
return cryptodev_get_session(dst);
|
||||
return dup2(src->fd, dst->fd);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue