1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-08-08 17:42:09 +03:00

Fix stupid bug in rsa_copy()

This commit is contained in:
Manuel Pégourié-Gonnard
2014-03-25 15:58:35 +01:00
committed by Paul Bakker
parent e01af4cd37
commit fdddac90a6
2 changed files with 2 additions and 1 deletions

View File

@@ -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 )