diff --git a/fips-1.0/rsa/fips_rsa_sign.c b/fips-1.0/rsa/fips_rsa_sign.c index 797c3c08c4..49d3b5c854 100644 --- a/fips-1.0/rsa/fips_rsa_sign.c +++ b/fips-1.0/rsa/fips_rsa_sign.c @@ -273,7 +273,7 @@ static int fips_rsa_verify(int dtype, if (pad_mode == EVP_MD_CTX_FLAG_PAD_X931) { - if (i != diglen + 1) + if (i != (int)(diglen + 1)) { RSAerr(RSA_F_RSA_VERIFY,RSA_R_BAD_SIGNATURE); goto err; diff --git a/util/libeay.num b/util/libeay.num index 1017bb6a9e..395de1866f 100755 --- a/util/libeay.num +++ b/util/libeay.num @@ -3513,7 +3513,7 @@ i2d_ASIdentifiers 3905 EXIST::FUNCTION:RFC3779 BN_div_no_branch 3906 EXIST::FUNCTION: BN_mod_inverse_no_branch 3907 EXIST::FUNCTION: EVP_CIPHER_CTX_clear_flags 3908 EXIST::FUNCTION: -FIPS_rsa_sign 3909 EXIST:OPENSSL_FIPS:FUNCTION:RSA +FIPS_dsa_sig_encode 3909 EXIST:OPENSSL_FIPS:FUNCTION:RSA FIPS_rand_status 3910 EXIST:OPENSSL_FIPS:FUNCTION: FIPS_rand_set_key 3911 EXIST:OPENSSL_FIPS:FUNCTION: CRYPTO_set_mem_info_functions 3912 EXIST::FUNCTION: @@ -3526,7 +3526,7 @@ BN_X931_generate_prime_ex 3918 EXIST::FUNCTION: FIPS_rand_set_dt 3919 EXIST:OPENSSL_FIPS:FUNCTION: CRYPTO_dbg_pop_info 3920 EXIST::FUNCTION: FIPS_dsa_free 3921 EXIST:OPENSSL_FIPS:FUNCTION:DSA -FIPS_rsa_verify 3922 EXIST:OPENSSL_FIPS:FUNCTION:RSA +FIPS_dsa_sig_decode 3922 EXIST:OPENSSL_FIPS:FUNCTION:RSA RSA_X931_derive_ex 3923 EXIST::FUNCTION:RSA FIPS_rsa_new 3924 EXIST:OPENSSL_FIPS:FUNCTION:RSA FIPS_rand_bytes 3925 EXIST:OPENSSL_FIPS:FUNCTION: