version 1.141, 2019/09/06 05:23:55 |
version 1.142, 2019/10/31 21:19:15 |
|
|
} |
} |
|
|
if ((r = ssh_add_identity_constrained(agent_fd, private, comment, |
if ((r = ssh_add_identity_constrained(agent_fd, private, comment, |
lifetime, confirm, maxsign)) == 0) { |
lifetime, confirm, maxsign, NULL)) == 0) { |
ret = 0; |
ret = 0; |
if (!qflag) { |
if (!qflag) { |
fprintf(stderr, "Identity added: %s (%s)\n", |
fprintf(stderr, "Identity added: %s (%s)\n", |
|
|
sshkey_free(cert); |
sshkey_free(cert); |
|
|
if ((r = ssh_add_identity_constrained(agent_fd, private, comment, |
if ((r = ssh_add_identity_constrained(agent_fd, private, comment, |
lifetime, confirm, maxsign)) != 0) { |
lifetime, confirm, maxsign, NULL)) != 0) { |
error("Certificate %s (%s) add failed: %s", certpath, |
error("Certificate %s (%s) add failed: %s", certpath, |
private->cert->key_id, ssh_err(r)); |
private->cert->key_id, ssh_err(r)); |
goto out; |
goto out; |