sbsigntools/src
Jeremi Piotrowski 75d8405eca Fix openssl-3.0 issue involving ASN1 xxx_it
Use ASN1_ITEM_rptr() instead of taking the address of IDC_PEID_it.

openssl-3.0 changed the type of TYPE_it from `const ASN1_ITEM TYPE_it` to
`const ASN1_ITEM *TYPE_it(void)`. This was previously hidden behind
OPENSSL_EXPORT_VAR_AS_FUNCTION but in 3.0 only the function version is
available. This change should have been transparent to the application, but
only if the `ASN1_ITEM_rptr()` macro is used.

This change passes `make check` with both openssl 1.1 and 3.0.

Signed-off-by: Jeremi Piotrowski <jpiotrowski@microsoft.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2022-06-13 18:12:08 -04:00
..
coff sbsigntool: add support for RISC-V 64-bit PE/COFF images 2022-03-04 16:43:24 -05:00
Makefile.am Add support for openssl-3 2022-06-13 18:12:08 -04:00
efivars.h sbvarsign: Improve default GUID choice 2012-08-24 20:57:00 +08:00
fileio.c sbsign, sbvarsign: support engine based private keys 2017-10-28 14:21:24 +01:00
fileio.h sbsign, sbvarsign: support engine based private keys 2017-10-28 14:21:24 +01:00
idc.c Fix openssl-3.0 issue involving ASN1 xxx_it 2022-06-13 18:12:08 -04:00
idc.h Move sources to src/ subdirectory 2012-08-13 15:10:21 +08:00
image.c sbsigntool: add support for RISC-V 64-bit PE/COFF images 2022-03-04 16:43:24 -05:00
image.h sbsign, sbattach, sbverify: add multiple signature support 2014-12-19 16:42:37 -08:00
libcoff.h Move sources to src/ subdirectory 2012-08-13 15:10:21 +08:00
sbattach.c Fix some openssl 1.1.0 deprecated functions 2020-06-06 14:44:54 -07:00
sbkeysync.c sbkeysync: Don't ignore errors from insert_new_keys() 2020-08-18 12:06:39 -07:00
sbsiglist.c Move EFI_CERT types to efivars.h 2012-08-24 20:00:15 +08:00
sbsign.c Fix some openssl 1.1.0 deprecated functions 2020-06-06 14:44:54 -07:00
sbvarsign.c sbvarsign: do not include PKCS#7 attributes 2022-02-21 07:45:56 -05:00
sbverify.c sbverify: refer to unused function 2020-06-06 14:50:51 -07:00
verify.c Move sources to src/ subdirectory 2012-08-13 15:10:21 +08:00