Prepare for future OpenSSL API changes.
OpenSSL 4.1 deprecates ASN1_STRING_set. Move to ASN1_STRING_set0 which requires the DER buffer to be allocated with OPENSSL_zalloc so ownership can be assumed by the string.
Differential D61532
uefisign: use ASN1_STRING_set0 instead of ASN1_STRING_set Authored by gordon on Sat, Nov 14, 4:59 AM. Project Tags None Referenced Files
Subscribers None
Details
Prepare for future OpenSSL API changes. OpenSSL 4.1 deprecates ASN1_STRING_set. Move to ASN1_STRING_set0 which requires the DER buffer to be allocated with OPENSSL_zalloc so ownership can be assumed by the string. A loader.efi signed is byte-for-byte identical to one signed previously.
Diff Detail
|