Fix Win32 warning. Update ordinals.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 4 Apr 2007 00:33:23 +0000 (00:33 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 4 Apr 2007 00:33:23 +0000 (00:33 +0000)
fips-1.0/rsa/fips_rsa_sign.c
util/libeay.num

index 797c3c08c458824b1207aace2b2fab1986bc689f..49d3b5c854b0f9de4722f93770b2ec3f2754e445 100644 (file)
@@ -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;
index 1017bb6a9e1b6222401d5851d6b4aae999f61b60..395de1866f8da136c3eec637293ce145e0c9c726 100755 (executable)
@@ -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: