diff --git a/fips/ecdsa/fips_ecdsa_sign.c b/fips/ecdsa/fips_ecdsa_sign.c index 847d44e784..a7839ee592 100644 --- a/fips/ecdsa/fips_ecdsa_sign.c +++ b/fips/ecdsa/fips_ecdsa_sign.c @@ -107,7 +107,7 @@ ECDSA_SIG * FIPS_ecdsa_sign(EC_KEY *key, unsigned char dig[EVP_MAX_MD_SIZE]; unsigned int dlen; FIPS_digest(msg, msglen, dig, &dlen, mhash); - s = FIPS_dsa_sign_digest(key, dig, dlen); + s = FIPS_ecdsa_sign_digest(key, dig, dlen); OPENSSL_cleanse(dig, dlen); return s; }