summaryrefslogtreecommitdiff
path: root/security/nss/lib/softoken/pkcs11.c
diff options
context:
space:
mode:
authorian.mcgreer%sun.com <devnull@localhost>2002-01-16 21:36:33 +0000
committerian.mcgreer%sun.com <devnull@localhost>2002-01-16 21:36:33 +0000
commit5491f9833e11a7cb9ead69ee4c2cb5bde220ee50 (patch)
tree9b8bd965b53232c3cda3384225047915b053ac66 /security/nss/lib/softoken/pkcs11.c
parent69d5b9be736e312eb296e1fa2fe54168eb182cbb (diff)
downloadnss-hg-5491f9833e11a7cb9ead69ee4c2cb5bde220ee50.tar.gz
fix build bustage
Diffstat (limited to 'security/nss/lib/softoken/pkcs11.c')
-rw-r--r--security/nss/lib/softoken/pkcs11.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/security/nss/lib/softoken/pkcs11.c b/security/nss/lib/softoken/pkcs11.c
index 7672f1ba4..06d45ad0f 100644
--- a/security/nss/lib/softoken/pkcs11.c
+++ b/security/nss/lib/softoken/pkcs11.c
@@ -3312,7 +3312,8 @@ pk11_key_collect(DBT *key, DBT *data, void *arg)
* correctly compute the hash of an old key, it is necessary
* to fallback and detect the leading zero.
*/
- SHA1_HashBuf( hashKey, key->data + 1, key->size - 1);
+ SHA1_HashBuf(hashKey,
+ (unsigned char *)key->data + 1, key->size - 1);
haveMatch = SECITEM_ItemsAreEqual(keyData->id,&result);
}
}