Home
last modified time | relevance | path

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

/netbsd-src/crypto/external/bsd/netpgp/dist/src/lib/
H A Dssh2pgp.c434 pgp_keyring_t *secring, const char *pubfile, in pgp_ssh2_readkeys() argument
443 if (pubfile) { in pgp_ssh2_readkeys()
445 (void) fprintf(io->errs, "pgp_ssh2_readkeys: pubfile '%s'\n", pubfile); in pgp_ssh2_readkeys()
447 if (!pgp_ssh2pubkey(io, pubfile, &key, (pgp_hash_alg_t)hashtype)) { in pgp_ssh2_readkeys()
448 (void) fprintf(io->errs, "pgp_ssh2_readkeys: can't read pubkeys '%s'\n", pubfile); in pgp_ssh2_readkeys()
/netbsd-src/crypto/external/bsd/openssh/dist/
H A Dauthfile.c264 char *pubfile = NULL; in sshkey_load_public() local
276 if (asprintf(&pubfile, "%s.pub", filename) == -1) in sshkey_load_public()
278 if ((r = sshkey_try_load_public(keyp, pubfile, commentp)) == 0) in sshkey_load_public()
291 free(pubfile); in sshkey_load_public()