Lines Matching refs:private_id
1045 id_filename_matches(Identity *id, Identity *private_id) in id_filename_matches() argument
1048 size_t len = strlen(id->filename), plen = strlen(private_id->filename); in id_filename_matches()
1051 if (strcmp(id->filename, private_id->filename) == 0) in id_filename_matches()
1057 memcmp(id->filename, private_id->filename, plen) == 0) in id_filename_matches()
1067 Identity *private_id; in sign_and_send_pubkey() local
1117 TAILQ_FOREACH(private_id, &authctxt->keys, next) { in sign_and_send_pubkey()
1118 if (sshkey_equal_public(id->key, private_id->key) && in sign_and_send_pubkey()
1119 id->key->type != private_id->key->type) { in sign_and_send_pubkey()
1120 id = private_id; in sign_and_send_pubkey()
1134 TAILQ_FOREACH(private_id, &authctxt->keys, next) { in sign_and_send_pubkey()
1135 if (private_id->key == NULL && in sign_and_send_pubkey()
1136 id_filename_matches(id, private_id)) { in sign_and_send_pubkey()
1137 id = private_id; in sign_and_send_pubkey()