summaryrefslogtreecommitdiff
path: root/security/nss/lib/softoken
diff options
context:
space:
mode:
authorwtc%google.com <devnull@localhost>2011-03-29 15:12:45 +0000
committerwtc%google.com <devnull@localhost>2011-03-29 15:12:45 +0000
commit696241dd94f7650e3b25f41a38e73e9db0d1cff3 (patch)
tree1c4be73005429e1c7e4a7406b16424a5481ad940 /security/nss/lib/softoken
parent246607987b88c8de376dd1fa6a71659d9bace747 (diff)
downloadnss-hg-696241dd94f7650e3b25f41a38e73e9db0d1cff3.tar.gz
Bug 356713: fix formatting nits. Add back a cast (to cast away the const)
that was removed accidentally. Modified Files: mozilla/security/nss/lib/softoken/fipstest.c mozilla/security/nss/lib/freebl/loader.h mozilla/security/nss/lib/cryptohi/secsign.c
Diffstat (limited to 'security/nss/lib/softoken')
-rw-r--r--security/nss/lib/softoken/fipstest.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/security/nss/lib/softoken/fipstest.c b/security/nss/lib/softoken/fipstest.c
index 807110de1..ca92cfeac 100644
--- a/security/nss/lib/softoken/fipstest.c
+++ b/security/nss/lib/softoken/fipstest.c
@@ -870,7 +870,7 @@ sftk_fips_HMAC_PowerUpSelfTest( void )
0x1c, 0xc3, 0x06, 0x8e, 0xce, 0x37, 0x68, 0xfb,
0x1a, 0x82, 0x4a, 0xbe, 0x2b, 0x00, 0x51, 0xf8,
0x9d, 0xb6, 0xe0, 0x90, 0x0d, 0x00, 0xc9, 0x64,
- 0x9a, 0xb8, 0x98, 0x4e };
+ 0x9a, 0xb8, 0x98, 0x4e};
/* known SHA256 hmac (32 bytes) */
static const PRUint8 known_SHA256_hmac[] = {
@@ -999,8 +999,7 @@ sftk_fips_SHA_PowerUpSelfTest( void )
0x89,0x5e,0x7f,0xfd,0x0e,0xd8,0x35,0x6f,
0x64,0x6d,0xf2,0xde,0x5e,0xed,0xa6,0x7f,
0x29,0xd1,0x12,0x73,0x42,0x84,0x95,0x4f,
- 0x8e,0x08,0xe5,0xcb
- };
+ 0x8e,0x08,0xe5,0xcb};
/* SHA-256 Known Digest Message (256-bits). */
static const PRUint8 sha256_known_digest[] = {
@@ -1053,8 +1052,8 @@ sftk_fips_SHA_PowerUpSelfTest( void )
FIPS_KNOWN_HASH_MESSAGE_LENGTH );
if( ( sha_status != SECSuccess ) ||
- ( PORT_Memcmp( sha_computed_digest, sha224_known_digest,
- SHA224_LENGTH ) != 0 ) )
+ ( PORT_Memcmp( sha_computed_digest, sha224_known_digest,
+ SHA224_LENGTH ) != 0 ) )
return( CKR_DEVICE_ERROR );
/***************************************************/