From 99dd57c020efec97519ee46d29229d3df8914026 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Fri, 22 May 2009 18:14:34 -0400 Subject: 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 --- pobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pobject.c') 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) -- cgit