Lines Matching defs:commentp
145 sshkey_load_public_rsa1(int fd, struct sshkey **keyp, char **commentp)
152 if (commentp != NULL)
153 *commentp = NULL;
159 if ((r = sshkey_parse_public_rsa1_fileblob(b, keyp, commentp)) != 0)
200 struct sshkey **keyp, char **commentp, int *perm_ok)
206 if (commentp != NULL)
207 *commentp = NULL;
223 r = sshkey_load_private_type_fd(fd, type, passphrase, keyp, commentp);
231 struct sshkey **keyp, char **commentp)
244 passphrase, keyp, commentp)) != 0)
257 struct sshkey **keyp, char **commentp)
264 if (commentp != NULL)
265 *commentp = NULL;
280 commentp)) != 0)
290 sshkey_try_load_public(struct sshkey *k, const char *filename, char **commentp)
298 if (commentp != NULL)
299 *commentp = NULL;
321 if (commentp) {
322 *commentp = strdup(*cp ?
324 if (*commentp == NULL)
338 sshkey_load_public(const char *filename, struct sshkey **keyp, char **commentp)
346 if (commentp != NULL)
347 *commentp = NULL;
355 r = sshkey_load_public_rsa1(fd, keyp, commentp);
372 if ((r = sshkey_try_load_public(pub, filename, commentp)) == 0) {
383 if ((r = sshkey_try_load_public(pub, filename, commentp)) == 0) {
398 (r = sshkey_try_load_public(pub, file, commentp)) == 0) {