--- xmlsec1-1.2.20/src/openssl/signatures.c 2014-05-27 14:29:01.000000000 -0400 +++ xmlsec1-1.2.20-fips-ecdsa/src/openssl/signatures.c 2022-04-26 10:54:52.307545779 -0400 @@ -1333,7 +1333,7 @@ NID_ecdsa_with_SHA224, SHA224_DIGEST_LENGTH, #ifndef XMLSEC_OPENSSL_096 - 0, + EVP_MD_FLAG_FIPS, xmlSecOpenSSLEcdsaSha224EvpInit, xmlSecOpenSSLEcdsaSha224EvpUpdate, xmlSecOpenSSLEcdsaSha224EvpFinal, @@ -1431,7 +1431,7 @@ NID_ecdsa_with_SHA256, SHA256_DIGEST_LENGTH, #ifndef XMLSEC_OPENSSL_096 - 0, + EVP_MD_FLAG_FIPS, xmlSecOpenSSLEcdsaSha256EvpInit, xmlSecOpenSSLEcdsaSha256EvpUpdate, xmlSecOpenSSLEcdsaSha256EvpFinal, @@ -1529,7 +1529,7 @@ NID_ecdsa_with_SHA384, SHA384_DIGEST_LENGTH, #ifndef XMLSEC_OPENSSL_096 - 0, + EVP_MD_FLAG_FIPS, xmlSecOpenSSLEcdsaSha384EvpInit, xmlSecOpenSSLEcdsaSha384EvpUpdate, xmlSecOpenSSLEcdsaSha384EvpFinal, @@ -1627,7 +1627,7 @@ NID_ecdsa_with_SHA512, SHA512_DIGEST_LENGTH, #ifndef XMLSEC_OPENSSL_096 - 0, + EVP_MD_FLAG_FIPS, xmlSecOpenSSLEcdsaSha512EvpInit, xmlSecOpenSSLEcdsaSha512EvpUpdate, xmlSecOpenSSLEcdsaSha512EvpFinal,