mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 04:05:44 +01:00
Fix typo
Fix wrong order of arguments for a memset
This commit is contained in:
parent
2353781d9e
commit
cac5f549ca
@ -321,7 +321,7 @@ int mbedtls_ecdsa_signature_to_asn1( const mbedtls_mpi *r, const mbedtls_mpi *s,
|
||||
{
|
||||
int ret = internal_ecdsa_signature_to_asn1( r, s, sig, slen, ssize );
|
||||
if( ret != 0 )
|
||||
memset( sig, ssize, 0 );
|
||||
memset( sig, 0, ssize );
|
||||
return( ret );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user