summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjulien.pierre.boogz%sun.com <devnull@localhost>2007-11-07 03:48:28 +0000
committerjulien.pierre.boogz%sun.com <devnull@localhost>2007-11-07 03:48:28 +0000
commit6c7792b9c6fe09a3cc5f6fa72f820304561a9cfb (patch)
tree2950f79ec1ebe4bc8e84ceedcf830633234d20fc
parentfc141b7156bf2e28262c672cc881d064b7c254f9 (diff)
downloadnss-hg-6c7792b9c6fe09a3cc5f6fa72f820304561a9cfb.tar.gz
Fix for bug 401071 . pk11mode crashes on win64 . r=nelson
-rw-r--r--security/nss/cmd/pk11mode/pk11mode.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/security/nss/cmd/pk11mode/pk11mode.c b/security/nss/cmd/pk11mode/pk11mode.c
index dcf9a980a..6220abaa4 100644
--- a/security/nss/cmd/pk11mode/pk11mode.c
+++ b/security/nss/cmd/pk11mode/pk11mode.c
@@ -217,6 +217,7 @@ PKM_CK_RVtoStr(CK_RV errNum) {
return "unknown error";
}
+#include "pkcs11p.h"
typedef struct CK_C_INITIALIZE_ARGS_NSS {
CK_CREATEMUTEX CreateMutex;
@@ -238,6 +239,8 @@ typedef struct CK_C_INITIALIZE_ARGS_NSS {
CK_VOID_PTR pReserved;
} CK_C_INITIALIZE_ARGS_NSS;
+#include "pkcs11u.h"
+
static CK_ATTRIBUTE_TYPE all_known_attribute_types[] = {
CKA_CLASS,
CKA_TOKEN,