mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-13 18:12:57 +00:00
Fix stupid bug in rsa_copy()
This commit is contained in:
committed by
Paul Bakker
parent
e01af4cd37
commit
fdddac90a6
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user