mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
Fix bug whereby 0 was written as 0200 rather than 020100
0200 is not just non-DER, it's completely invalid, since there has to be a sign bit. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
2
ChangeLog.d/asn1write-0-fix
Normal file
2
ChangeLog.d/asn1write-0-fix
Normal file
@@ -0,0 +1,2 @@
|
||||
Bugfix
|
||||
* Fix mbedtls_asn1_write_mpi() writing an incorrect encoding of 0.
|
Reference in New Issue
Block a user