summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrrelyea%redhat.com <devnull@localhost>2009-03-29 19:04:30 +0000
committerrrelyea%redhat.com <devnull@localhost>2009-03-29 19:04:30 +0000
commitdf010ecfd401669f90b3f7081da7659594bbb2c0 (patch)
treeff259407669598c67b30f16ea431f46076ad4341
parentc0ccc10e3bf0eb008323f816b77a11fd1573d196 (diff)
downloadnss-hg-df010ecfd401669f90b3f7081da7659594bbb2c0.tar.gz
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).
-rw-r--r--security/nss/cmd/lib/pk11table.c8
-rw-r--r--security/nss/cmd/lib/pk11table.h1
2 files changed, 9 insertions, 0 deletions
diff --git a/security/nss/cmd/lib/pk11table.c b/security/nss/cmd/lib/pk11table.c
index c233fd80d..84d9e09ee 100644
--- a/security/nss/cmd/lib/pk11table.c
+++ b/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/security/nss/cmd/lib/pk11table.h b/security/nss/cmd/lib/pk11table.h
index 8a2f4d592..ad751416b 100644
--- a/security/nss/cmd/lib/pk11table.h
+++ b/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,