List Info

Thread: OpenSSL: OpenSSL-fips2-0_9_7-stable: openssl/fips-1.0/rsa/ fips_...




OpenSSL: OpenSSL-fips2-0_9_7-stable: openssl/fips-1.0/rsa/ fips_...
user name
2007-01-26 08:25:31
OpenSSL CVS Repository http://cvs.openssl.org/ ____________________________________________________________________________ Server: cvs.openssl.org Name: Dr. Stephen Henson Root: /v/openssl/cvs Email: steveopenssl.org Module: openssl Date: 26-Jan-2007 15:25:31 Branch: OpenSSL-fips2-0_9_7-stable Handle: 2007012614252802 Modified files: (Branch: OpenSSL-fips2-0_9_7-stable) openssl/fips-1.0/rsa fips_rsa_sign.c openssl/util libeay.num mk1mf.pl mkdef.pl Log: Make WIN32 build work with fipscanisterbuild option. Update ordinals and fix warning. Summary: Revision Changes Path 1.1.2.2 +1 -1 openssl/fips-1.0/rsa/fips_rsa_sign.c 1.173.2.34.2.1+2 -0 openssl/util/libeay.num 1.41.2.34.2.1+2 -1 openssl/util/mk1mf.pl 1.67.2.12.2.1+1 -0 openssl/util/mkdef.pl ____________________________________________________________________________ patch -p0 <<' .' Index: openssl/fips-1.0/rsa/fips_rsa_sign.c ============================================================================ $ cvs diff -u -r1.1.2.1 -r1.1.2.2 fips_rsa_sign.c --- openssl/fips-1.0/rsa/fips_rsa_sign.c 24 Jan 2007 13:00:15 -0000 1.1.2.1 +++ openssl/fips-1.0/rsa/fips_rsa_sign.c 26 Jan 2007 14:25:28 -0000 1.1.2.2 -213,7 +213,7 /* Compare, DigestInfo length, DigestInfo header and finally * digest value itself */ - if ((i != (dlen + m_len)) || memcmp(der, s, dlen) + if ((i != (int)(dlen + m_len)) || memcmp(der, s, dlen) || memcmp(s + dlen, m, m_len)) { RSAerr(RSA_F_RSA_VERIFY,RSA_R_BAD_SIGNATURE); . patch -p0 <<' .' Index: openssl/util/libeay.num ============================================================================ $ cvs diff -u -r1.173.2.34 -r1.173.2.34.2.1 libeay.num --- openssl/util/libeay.num 4 Feb 2006 23:05:38 -0000 1.173.2.34 +++ openssl/util/libeay.num 26 Jan 2007 14:25:29 -0000 1.173.2.34.2.1 -2905,3 +2905,5 SHA384_Final 3740 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA512 SHA384 3745 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA512 SHA256_Update 3765 EXIST:OPENSSL_FIPS:FUNCTION:SHA,SHA256 +FIPS_rsa_sign 3766 EXIST:OPENSSL_FIPS:FUNCTION:RSA +FIPS_rsa_verify 3767 EXIST:OPENSSL_FIPS:FUNCTION:RSA . patch -p0 <<' .' Index: openssl/util/mk1mf.pl ============================================================================ $ cvs diff -u -r1.41.2.34 -r1.41.2.34.2.1 mk1mf.pl --- openssl/util/mk1mf.pl 19 Jan 2007 13:17:52 -0000 1.41.2.34 +++ openssl/util/mk1mf.pl 26 Jan 2007 14:25:30 -0000 1.41.2.34.2.1 -1184,8 +1184,9 } } } - elsif (/^--fipscanisterbuild$/) + elsif (/^fipscanisterbuild$/) { + $fips=1; $fipscanisterbuild=1; } elsif (/^([^=]*)=(.*)$/){ $VARS{$1}=$2; } . patch -p0 <<' .' Index: openssl/util/mkdef.pl ============================================================================ $ cvs diff -u -r1.67.2.12 -r1.67.2.12.2.1 mkdef.pl --- openssl/util/mkdef.pl 4 Feb 2006 23:05:40 -0000 1.67.2.12 +++ openssl/util/mkdef.pl 26 Jan 2007 14:25:30 -0000 1.67.2.12.2.1 -131,6 +131,7 $VMS=1 if $_ eq "VMS"; $OS2=1 if $_ eq "OS2"; $fips=1 if $_ eq "fips"; + $fips=1 if $_ eq "fipscanisterbuild"; $do_ssl=1 if $_ eq "ssleay"; if ($_ eq "ssl") { . ______________________________________________________________________ OpenSSL Project http://www.openssl.org CVS Repository Commit List openssl-cvsopenssl.org Automated List Manager majordomoopenssl.org
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )