Update pointer in PSA-based mbedtls_pk_write_pubkey()
This commit is contained in:
parent
5d5e90a610
commit
cd0f276cee
1 changed files with 2 additions and 1 deletions
|
@ -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…
Reference in a new issue