diff options
author | rrelyea%redhat.com <devnull@localhost> | 2009-03-29 19:04:30 +0000 |
---|---|---|
committer | rrelyea%redhat.com <devnull@localhost> | 2009-03-29 19:04:30 +0000 |
commit | df010ecfd401669f90b3f7081da7659594bbb2c0 (patch) | |
tree | ff259407669598c67b30f16ea431f46076ad4341 /security | |
parent | c0ccc10e3bf0eb008323f816b77a11fd1573d196 (diff) | |
download | nss-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).
Diffstat (limited to 'security')
-rw-r--r-- | security/nss/cmd/lib/pk11table.c | 8 | ||||
-rw-r--r-- | security/nss/cmd/lib/pk11table.h | 1 |
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, |