mirror of https://github.com/ipxe/ipxe.git
[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>pull/94/head
parent
fd96acb7de
commit
131635eac0
|
@ -635,3 +635,9 @@ struct pubkey_algorithm rsa_algorithm = {
|
|||
.final = rsa_final,
|
||||
.match = rsa_match,
|
||||
};
|
||||
|
||||
/* Drag in objects via rsa_algorithm */
|
||||
REQUIRING_SYMBOL ( rsa_algorithm );
|
||||
|
||||
/* Drag in crypto configuration */
|
||||
REQUIRE_OBJECT ( config_crypto );
|
||||
|
|
Loading…
Reference in New Issue