mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-22 05:46:41 +01:00
Fix stupid bug in rsa_copy()
This commit is contained in:
parent
e01af4cd37
commit
fdddac90a6
2 changed files with 2 additions and 1 deletions
|
|
@ -1381,7 +1381,7 @@ int rsa_copy( rsa_context *dst, const rsa_context *src )
|
|||
#endif
|
||||
|
||||
dst->padding = src->padding;
|
||||
dst->hash_id = src->padding;
|
||||
dst->hash_id = src->hash_id;
|
||||
|
||||
cleanup:
|
||||
if( ret != 0 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue