Home
last modified time | relevance | path

Searched refs:certpath (Results 1 – 2 of 2) sorted by relevance

/trueos/crypto/openssh/
HDssh-add.c103 char *certpath = NULL, *comment = NULL; in delete_file() local
123 xasprintf(&certpath, "%s-cert.pub", filename); in delete_file()
124 if ((cert = key_load_public(certpath, &comment)) == NULL) in delete_file()
128 certpath, filename); in delete_file()
131 fprintf(stderr, "Identity removed: %s (%s)\n", certpath, in delete_file()
135 fprintf(stderr, "Could not remove identity: %s\n", certpath); in delete_file()
142 free(certpath); in delete_file()
172 char msg[1024], *certpath = NULL; in add_file() local
253 xasprintf(&certpath, "%s-cert.pub", filename); in add_file()
254 if ((cert = key_load_public(certpath, NULL)) == NULL) in add_file()
[all …]
/trueos/usr.sbin/uefisign/
HDuefisign.c339 const char *certpath = NULL, *keypath = NULL, *outpath = NULL, *inpath = NULL; in main() local
352 certpath = checked_strdup(optarg); in main()
374 if (certpath != NULL) in main()
381 if (certpath == NULL) in main()
407 certfp = checked_fopen(certpath, "r"); in main()
411 errx(1, "failed to load certificate from %s", certpath); in main()