diff options
author | wtc%google.com <devnull@localhost> | 2012-08-03 23:40:54 +0000 |
---|---|---|
committer | wtc%google.com <devnull@localhost> | 2012-08-03 23:40:54 +0000 |
commit | 94f3a95643863131cbea32a2f0e3ea89b01a5303 (patch) | |
tree | 2d69d85966828bfd90c5b93e3509e0529abb9ede /security/nss/lib/softoken | |
parent | 2831f242e01842b959b60a1ecf9cad888b58e43e (diff) | |
download | nss-hg-94f3a95643863131cbea32a2f0e3ea89b01a5303.tar.gz |
Bug 753189: declare 'okm' without the 'const' to fix a compiler warning
about different 'const' qualifiers. r=bsmith.
Diffstat (limited to 'security/nss/lib/softoken')
-rw-r--r-- | security/nss/lib/softoken/pkcs11c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/security/nss/lib/softoken/pkcs11c.c b/security/nss/lib/softoken/pkcs11c.c index b697942c6..660091550 100644 --- a/security/nss/lib/softoken/pkcs11c.c +++ b/security/nss/lib/softoken/pkcs11c.c @@ -6332,9 +6332,9 @@ hkdf: { const SECHashObject * rawHash; unsigned hashLen; CK_BYTE buf[HASH_LENGTH_MAX]; - /* const */ CK_BYTE * prk; /* psuedo-random key */ + CK_BYTE * prk; /* psuedo-random key */ CK_ULONG prkLen; - const CK_BYTE * okm; /* output keying material */ + CK_BYTE * okm; /* output keying material */ rawHash = HASH_GetRawHashObject(hashType); if (rawHash == NULL || rawHash->length > sizeof buf) { |