mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 17:42:47 +03:00
[crypto] Drag in configured digestInfo prefixes for any use of RSA
Ensure that the configured RSA digestInfo prefixes are included in any build that includes rsa.o (rather than relying on x509.o or tls.o also being present in the final binary). This allows the RSA self-tests to be run in isolation. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -635,3 +635,9 @@ struct pubkey_algorithm rsa_algorithm = {
|
|||||||
.final = rsa_final,
|
.final = rsa_final,
|
||||||
.match = rsa_match,
|
.match = rsa_match,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* Drag in objects via rsa_algorithm */
|
||||||
|
REQUIRING_SYMBOL ( rsa_algorithm );
|
||||||
|
|
||||||
|
/* Drag in crypto configuration */
|
||||||
|
REQUIRE_OBJECT ( config_crypto );
|
||||||
|
|||||||
Reference in New Issue
Block a user