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

/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/
H A Dremovecert.c56 char keystore_file[MAXPATHLEN] = ""; local
116 if (strlcat(keystore_file, PKGSEC,
119 keystore_file);
128 if (strlcat(keystore_file, PKGSEC,
131 keystore_file);
135 if (strlcat(keystore_file, homedir,
141 if (strlcat(keystore_file, "/.pkg/security",
144 keystore_file);
150 if (strlcat(keystore_file, keystore_base,
161 log_msg(LOG_MSG_DEBUG, "Loading keystore <%s>", keystore_file);
[all...]
H A Dlistcert.c56 char keystore_file[MAXPATHLEN] = ""; local
139 if (strlcpy(keystore_file, altroot, MAXPATHLEN) >= MAXPATHLEN) {
144 if (strlcat(keystore_file, "/", MAXPATHLEN) >= MAXPATHLEN) {
159 if (strlcat(keystore_file, PKGSEC,
162 keystore_file);
171 if (strlcat(keystore_file, PKGSEC,
174 keystore_file);
178 if (strlcat(keystore_file, homedir,
184 if (strlcat(keystore_file, "/.pkg/security",
187 keystore_file);
[all...]
H A Daddcert.c67 char keystore_file[MAXPATHLEN] = ""; local
186 if (strlcpy(keystore_file, altroot, MAXPATHLEN) >= MAXPATHLEN) {
191 if (strlcat(keystore_file, "/", MAXPATHLEN) >= MAXPATHLEN) {
206 if (strlcat(keystore_file, PKGSEC,
209 keystore_file);
218 if (strlcat(keystore_file, PKGSEC,
221 keystore_file);
225 if (strlcat(keystore_file, homedir,
231 if (strlcat(keystore_file, "/.pkg/security",
234 keystore_file);
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgtrans/
H A Dmain.c64 char *keystore_file = NULL; local
103 keystore_file = optarg;
145 if (keystore_file == NULL) {
148 keystore_file = PKGSEC;
155 keystore_file = PKGSEC;
157 } else if (asprintf(&keystore_file, "%s/.pkg/security",
164 logerr(gettext(KEYSTORE_OPEN), keystore_file); local
169 if (open_keystore(err, keystore_file, get_prog_name(),
/illumos-gate/usr/src/lib/libpkg/common/
H A Dkeystore.c358 * keystore_file - Base filename or directory of keystore
369 open_keystore(PKG_ERR *err, char *keystore_file, char *app, argument
379 tmpstore->path = xstrdup(keystore_file);
381 if (!resolve_paths(err, keystore_file, app, flags, tmpstore)) {
384 keystore_file);
392 keystore_file);
399 keystore_file);
407 keystore_file);
1087 * keystore_file - Base directory or filename of keystore
1136 * keystore_file
1145 restore_keystore_file(PKG_ERR *err, char *keystore_file) argument
1207 wait_restore(int newfd, char *keystore_file, char *origpath, char *backuppath) argument
1319 resolve_paths(PKG_ERR *err, char *keystore_file, char *app, long flags, keystore_t *keystore) argument
[all...]
/illumos-gate/usr/src/cmd/svr4pkg/pkgadd/
H A Dmain.c301 char *keystore_file = NULL; local
554 keystore_file = optarg;
940 if (askflag && keystore_file) {
1136 if (!check_keystore_admin(&keystore_file)) {
1193 if (open_keystore(err, keystore_file,
1341 keystore_file, ids_name, &repeat);

Completed in 56 milliseconds