summaryrefslogtreecommitdiff
path: root/security/nss/lib/ckfw/slot.c
diff options
context:
space:
mode:
authorrelyea%netscape.com <devnull@localhost>2000-09-06 22:24:00 +0000
committerrelyea%netscape.com <devnull@localhost>2000-09-06 22:24:00 +0000
commit36b53465f3960b386796adb3b4ef671f6a63a3bb (patch)
tree580fc2f6f8157fd4d06bb1047e532e0dc3c117d1 /security/nss/lib/ckfw/slot.c
parent8b7a414a539968dc3abbe7ceaa711a6690309d1c (diff)
downloadnss-hg-36b53465f3960b386796adb3b4ef671f6a63a3bb.tar.gz
Make the framework compile with the rest of NSS.
Include a 'live' certdata.txt with those certs we have permission to push to open source (additional certs will be added as we get permission from the owners).
Diffstat (limited to 'security/nss/lib/ckfw/slot.c')
-rw-r--r--security/nss/lib/ckfw/slot.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/security/nss/lib/ckfw/slot.c b/security/nss/lib/ckfw/slot.c
index 6530f04d3..4e2b0831c 100644
--- a/security/nss/lib/ckfw/slot.c
+++ b/security/nss/lib/ckfw/slot.c
@@ -387,11 +387,11 @@ nssCKFWSlot_GetSlotDescription
goto done;
}
} else {
- fwSlot->slotDescription = "";
+ fwSlot->slotDescription = (NSSUTF8 *) "";
}
}
- (void)nssUTF8_CopyIntoFixedBuffer(fwSlot->slotDescription, slotDescription, 64, ' ');
+ (void)nssUTF8_CopyIntoFixedBuffer(fwSlot->slotDescription, (char *)slotDescription, 64, ' ');
error = CKR_OK;
done:
@@ -437,11 +437,11 @@ nssCKFWSlot_GetManufacturerID
goto done;
}
} else {
- fwSlot->manufacturerID = "";
+ fwSlot->manufacturerID = (NSSUTF8 *) "";
}
}
- (void)nssUTF8_CopyIntoFixedBuffer(fwSlot->manufacturerID, manufacturerID, 32, ' ');
+ (void)nssUTF8_CopyIntoFixedBuffer(fwSlot->manufacturerID, (char *)manufacturerID, 32, ' ');
error = CKR_OK;
done: