List Info

Thread: OpenSSL: OpenSSL-fips-0_9_8-stable: openssl/fips-1.0/ fips.c




OpenSSL: OpenSSL-fips-0_9_8-stable: openssl/fips-1.0/ fips.c
country flaguser name
Germany
2007-08-02 15:42:34
  OpenSSL CVS Repository
  http://cvs.openssl.org/
 
____________________________________________________________
________________

  Server: cvs.openssl.org                  Name:   Andy
Polyakov
  Root:   /v/openssl/cvs                   Email:  approopenssl.org
  Module: openssl                          Date:  
02-Aug-2007 22:42:34
  Branch: OpenSSL-fips-0_9_8-stable        Handle:
2007080221423300

  Modified files:           (Branch:
OpenSSL-fips-0_9_8-stable)
    openssl/fips-1.0        fips.c

  Log:
    Platform check in FIPS_mode_set.

  Summary:
    Revision    Changes     Path
    1.1.4.6     +10 -0      openssl/fips-1.0/fips.c
 
____________________________________________________________
________________

  patch -p0 <<' .'
  Index: openssl/fips-1.0/fips.c
 
============================================================
================
  $ cvs diff -u -r1.1.4.5 -r1.1.4.6 fips.c
  --- openssl/fips-1.0/fips.c	1 Jul 2007 23:19:14
-0000	1.1.4.5
  +++ openssl/fips-1.0/fips.c	2 Aug 2007 20:42:33
-0000	1.1.4.6
   -255,6 +255,16 
   	    goto end;
   	    }
   
  +#ifdef OPENSSL_IA32_SSE2
  +	if ((OPENSSL_ia32cap & (1<<25|1<<26)) !=
(1<<25|1<<26))
  +	    {
  +	   
FIPSerr(FIPS_F_FIPS_MODE_SET,FIPS_R_UNSUPPORTED_PLATFORM);
  +	    fips_selftest_fail = 1;
  +	    ret = 0;
  +	    goto end;
  +	    }
  +#endif
  +
   	if(fips_signature_witness() != FIPS_signature)
   	    {
   	   
FIPSerr(FIPS_F_FIPS_MODE_SET,FIPS_R_CONTRADICTING_EVIDENCE);

   .
____________________________________________________________
__________
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 )