Closed Wenxing-hou closed 3 months ago
It looks good to me.
@jyao1 this is a breaking change and so would have to wait for 4.0 or it would need a macro.
Why this is a breaking change?
While it doesn't break the libspdm library build, libspdm now requires an implementation of libspdm_x509_get_signature_algorithm
. Linking of cryptlib
s that don't have this implementation will fail.
libspdm_x509_get_signature_algorithm
is already implemented.
Since this is just to add additional check, I dont mind to add MACRO around /* 3. Verify signature algorithm. */
Since this is just to add additional check, I dont mind to add MACRO around
/* 3. Verify signature algorithm. */
Thanks. I have added the MACRO: LIBSPDM_ADDITIONAL_CHECK_CERT
.
Fix: #2658