RT3992: Make SCT #ifdeffable.
This code does open-coded division on 64-bit quantities and thus when building with GCC on 32-bit platforms will require functions such as __umoddi3 and __udivdi3 from libgcc. In constrained environments such as firmware, those functions may not be available. So make it possible to compile out SCT support, which in fact (in the case of UEFI) we don't need anyway. Signed-off-by: Rich Salz <rsalz@akamai.com> Reviewed-by: Tim Hudson <tjh@openssl.org>
This commit is contained in:
committed by
Rich Salz
parent
84d90cf335
commit
05d7bf6c5b
@@ -127,8 +127,10 @@ static const X509V3_EXT_METHOD *standard_exts[] = {
|
||||
&v3_idp,
|
||||
&v3_alt[2],
|
||||
&v3_freshest_crl,
|
||||
#ifndef OPENSSL_NO_SCT
|
||||
&v3_ct_scts[0],
|
||||
&v3_ct_scts[1],
|
||||
#endif
|
||||
};
|
||||
|
||||
/* Number of standard extensions */
|
||||
|
||||
Reference in New Issue
Block a user