Home
last modified time | relevance | path

Searched refs:keystore_file (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/cmd/svr4pkg/pkgadm/
H A Dremovecert.c56 char keystore_file[MAXPATHLEN] = ""; in removecert() local
116 if (strlcat(keystore_file, PKGSEC, in removecert()
119 keystore_file); in removecert()
128 if (strlcat(keystore_file, PKGSEC, in removecert()
131 keystore_file); in removecert()
135 if (strlcat(keystore_file, homedir, in removecert()
141 if (strlcat(keystore_file, "/.pkg/security", in removecert()
144 keystore_file); in removecert()
150 if (strlcat(keystore_file, keystore_base, in removecert()
161 log_msg(LOG_MSG_DEBUG, "Loading keystore <%s>", keystore_file); in removecert()
[all …]
H A Dlistcert.c56 char keystore_file[MAXPATHLEN] = ""; in listcert() local
139 if (strlcpy(keystore_file, altroot, MAXPATHLEN) >= MAXPATHLEN) { in listcert()
144 if (strlcat(keystore_file, "/", MAXPATHLEN) >= MAXPATHLEN) { in listcert()
159 if (strlcat(keystore_file, PKGSEC, in listcert()
162 keystore_file); in listcert()
171 if (strlcat(keystore_file, PKGSEC, in listcert()
174 keystore_file); in listcert()
178 if (strlcat(keystore_file, homedir, in listcert()
184 if (strlcat(keystore_file, "/.pkg/security", in listcert()
187 keystore_file); in listcert()
[all …]
H A Daddcert.c67 char keystore_file[MAXPATHLEN] = ""; in addcert() local
186 if (strlcpy(keystore_file, altroot, MAXPATHLEN) >= MAXPATHLEN) { in addcert()
191 if (strlcat(keystore_file, "/", MAXPATHLEN) >= MAXPATHLEN) { in addcert()
206 if (strlcat(keystore_file, PKGSEC, in addcert()
209 keystore_file); in addcert()
218 if (strlcat(keystore_file, PKGSEC, in addcert()
221 keystore_file); in addcert()
225 if (strlcat(keystore_file, homedir, in addcert()
231 if (strlcat(keystore_file, "/.pkg/security", in addcert()
234 keystore_file); in addcert()
[all …]
/titanic_50/usr/src/cmd/svr4pkg/pkgtrans/
H A Dmain.c64 char *keystore_file = NULL; in main() local
103 keystore_file = optarg; in main()
145 if (keystore_file == NULL) { in main()
148 keystore_file = PKGSEC; in main()
155 keystore_file = PKGSEC; in main()
157 } else if (asprintf(&keystore_file, "%s/.pkg/security", in main()
164 logerr(gettext(KEYSTORE_OPEN), keystore_file); in main()
169 if (open_keystore(err, keystore_file, get_prog_name(), in main()
/titanic_50/usr/src/lib/libpkg/common/
H A Dkeystore.c369 open_keystore(PKG_ERR *err, char *keystore_file, char *app, in open_keystore() argument
379 tmpstore->path = xstrdup(keystore_file); in open_keystore()
381 if (!resolve_paths(err, keystore_file, app, flags, tmpstore)) { in open_keystore()
384 keystore_file); in open_keystore()
392 keystore_file); in open_keystore()
399 keystore_file); in open_keystore()
407 keystore_file); in open_keystore()
1145 restore_keystore_file(PKG_ERR *err, char *keystore_file) in restore_keystore_file() argument
1154 keystore_file)) < 0) || in restore_keystore_file()
1156 pkgerr_add(err, PKGERR_WEB, gettext(ERR_LEN), keystore_file); in restore_keystore_file()
[all …]
/titanic_50/usr/src/cmd/svr4pkg/pkgadd/
H A Dmain.c301 char *keystore_file = NULL; in main() local
554 keystore_file = optarg; in main()
940 if (askflag && keystore_file) { in main()
1136 if (!check_keystore_admin(&keystore_file)) { in main()
1193 if (open_keystore(err, keystore_file, in main()
1341 keystore_file, ids_name, &repeat); in main()