summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2009-05-22 18:14:34 -0400
committerRob Crittenden <rcritten@redhat.com>2009-05-22 18:14:34 -0400
commit99dd57c020efec97519ee46d29229d3df8914026 (patch)
tree21e6a8a4d865362fdeeffe260a02ff7ed2952c02
parent5409801c7195dc38665ec4e29c233bf1e9ea53e7 (diff)
downloadpemnss-99dd57c020efec97519ee46d29229d3df8914026.zip
pemnss-99dd57c020efec97519ee46d29229d3df8914026.tar.gz
pemnss-99dd57c020efec97519ee46d29229d3df8914026.tar.xz
Fix data type to work on x86_64 systems. We were only copying the bottom 4
bytes of the U_LONG (Intel is a little endian platform). 429175
-rw-r--r--pobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pobject.c b/pobject.c
index 2fcc9c8..62a8a38 100644
--- a/pobject.c
+++ b/pobject.c
@@ -160,7 +160,7 @@ static const NSSItem pem_falseItem = {
(void *) &ck_false, (PRUint32) sizeof(CK_BBOOL)
};
static const NSSItem pem_x509Item = {
- (void *) &ckc_x509, (PRUint32) sizeof(CKC_X_509)
+ (void *) &ckc_x509, (PRUint32) sizeof(CK_ULONG)
};
static const NSSItem pem_rsaItem = {
(void *) &ckk_rsa, (PRUint32) sizeof(CK_KEY_TYPE)