From 00a78f322a274da892f9af10000ff3bcba72f969 Mon Sep 17 00:00:00 2001 From: "rrelyea%redhat.com" Date: Sun, 29 Mar 2009 19:04:30 +0000 Subject: [PATCH] Local changes that I've made to test things, but aren't really ready for main-line commits. (I just don't want to loose them in case we need them in the future). git-svn-id: svn://10.0.0.236/trunk@256746 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/security/nss/cmd/lib/pk11table.c | 8 ++++++++ mozilla/security/nss/cmd/lib/pk11table.h | 1 + 2 files changed, 9 insertions(+) diff --git a/mozilla/security/nss/cmd/lib/pk11table.c b/mozilla/security/nss/cmd/lib/pk11table.c index c233fd80d05..84d9e09ee01 100644 --- a/mozilla/security/nss/cmd/lib/pk11table.c +++ b/mozilla/security/nss/cmd/lib/pk11table.c @@ -1265,6 +1265,14 @@ const Commands _commands[] = { " value 32 bit value to set in the template\n", {ArgAttribute, ArgULong, ArgULong, ArgNone, ArgNone, ArgNone, ArgNone, ArgNone, ArgNone, ArgNone }}, + {"SetTemplateString", F_SetTemplateString, +"SetTemplateString template index value\n\n" +"Sets a particular element of a template to a string value\n" +" template variable name of the template\n" +" index index into the template to the element to change\n" +" value UTF8 string\n", + {ArgAttribute, ArgULong, ArgVar, ArgNone, ArgNone, + ArgNone, ArgNone, ArgNone, ArgNone, ArgNone }}, {"SetString", F_SetStringVar, "SetString varName string\n\n" "Sets a particular variable to a string value\n" diff --git a/mozilla/security/nss/cmd/lib/pk11table.h b/mozilla/security/nss/cmd/lib/pk11table.h index 8a2f4d59215..ad751416bc7 100644 --- a/mozilla/security/nss/cmd/lib/pk11table.h +++ b/mozilla/security/nss/cmd/lib/pk11table.h @@ -21,6 +21,7 @@ typedef enum { F_NewMechanism, F_BuildTemplate, F_SetTemplate, + F_SetTemplateString, F_Print, F_SaveVar, F_RestoreVar,