mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-26 13:09:30 +00:00
- And fixed order
This commit is contained in:
@@ -406,8 +406,8 @@ int mpi_write_string( const mpi *X, int radix, char *s, size_t *slen )
|
||||
if( c == 0 && k == 0 && ( i + j + 3 ) != 0 )
|
||||
continue;
|
||||
|
||||
*(p++) = "0123456789ABCDEF" [c % 16];
|
||||
*(p++) = "0123456789ABCDEF" [c / 16];
|
||||
*(p++) = "0123456789ABCDEF" [c % 16];
|
||||
k = 1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user