Blame SOURCES/openssl-pkcs11-0.4.10-set-rsa-fips-method-flag.patch

5e8a1a
--- a/src/p11_rsa.c	2019-04-03 21:58:18.000000000 +0200
5e8a1a
+++ b/src/p11_rsa.c	2019-11-28 15:46:18.898258545 +0100
5e8a1a
@@ -478,7 +478,7 @@
5e8a1a
 		if (!ops)
5e8a1a
 			return NULL;
5e8a1a
 		RSA_meth_set1_name(ops, "libp11 RSA method");
5e8a1a
-		RSA_meth_set_flags(ops, 0);
5e8a1a
+		RSA_meth_set_flags(ops, RSA_FLAG_FIPS_METHOD);
5e8a1a
 		RSA_meth_set_priv_enc(ops, pkcs11_rsa_priv_enc_method);
5e8a1a
 		RSA_meth_set_priv_dec(ops, pkcs11_rsa_priv_dec_method);
5e8a1a
 		RSA_meth_set_finish(ops, pkcs11_rsa_free_method);