mirror of
https://github.com/espressif/mbedtls.git
synced 2025-06-25 09:59:47 +08:00
Update pointer in PSA-based mbedtls_pk_write_pubkey()
This commit is contained in:
parent
62efb9c3ba
commit
4fb8db23b9
@ -181,7 +181,8 @@ int mbedtls_pk_write_pubkey( unsigned char **p, unsigned char *start,
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
memmove( *p - len, start, len );
|
*p -= len;
|
||||||
|
memmove( *p, start, len );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user