Home
last modified time | relevance | path

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

/netbsd/crypto/external/bsd/openssh/dist/
H A Dssh-keygen.c2486 char *privpath = xstrdup(keypath); in load_sign_key() local
2500 strcmp(privpath + plen - slen, suffixes[i]) != 0) in load_sign_key()
2502 privpath[plen - slen] = '\0'; in load_sign_key()
2504 "path %s instead", keypath, privpath); in load_sign_key()
2507 if (waspub && stat(privpath, &st) != 0 && errno == ENOENT) in load_sign_key()
2509 if ((r = sshkey_load_private(privpath, "", &privkey, NULL)) != 0 && in load_sign_key()
2511 debug_fr(r, "load private key \"%s\"", privpath); in load_sign_key()
2512 fatal("No private key found for \"%s\"", privpath); in load_sign_key()
2514 privkey = load_identity(privpath, NULL); in load_sign_key()
2518 keypath, privpath); in load_sign_key()
[all …]