mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-08-08 17:42:09 +03:00
Merge pull request #5309 from gilles-peskine-arm/pkparse-pkcs8-unencrypted-no-alloc
mbedtls_pk_parse_key: don't allocate if not needed
This commit is contained in:
3
ChangeLog.d/pkparse-pkcs8-unencrypted-no-alloc.txt
Normal file
3
ChangeLog.d/pkparse-pkcs8-unencrypted-no-alloc.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
Changes
|
||||
* In mbedtls_pk_parse_key(), if no password is provided, don't allocate a
|
||||
temporary variable on the heap. Suggested by Sergey Kanatov in #5304.
|
Reference in New Issue
Block a user