diff options
author | Jan Cholasta <jcholast@redhat.com> | 2012-09-01 16:10:06 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-09-04 10:17:42 +0200 |
commit | 4a628b83d129463e7886c8cdaa31739512947e42 (patch) | |
tree | 7fa8c3db79ab065d0d95dad82abac15f43690b6e /src/sss_client | |
parent | ef9f85751b26995093cc9782fe48ddeacc8e2d3f (diff) | |
download | sssd-4a628b83d129463e7886c8cdaa31739512947e42.tar.gz sssd-4a628b83d129463e7886c8cdaa31739512947e42.tar.bz2 sssd-4a628b83d129463e7886c8cdaa31739512947e42.zip |
SSH: Simplify public key formatting function
Diffstat (limited to 'src/sss_client')
-rw-r--r-- | src/sss_client/ssh/sss_ssh_authorizedkeys.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sss_client/ssh/sss_ssh_authorizedkeys.c b/src/sss_client/ssh/sss_ssh_authorizedkeys.c index 74b9693f..902b4a07 100644 --- a/src/sss_client/ssh/sss_ssh_authorizedkeys.c +++ b/src/sss_client/ssh/sss_ssh_authorizedkeys.c @@ -109,8 +109,7 @@ int main(int argc, const char **argv) /* print results */ for (i = 0; i < ent->num_pubkeys; i++) { - ret = sss_ssh_format_pubkey(mem_ctx, ent, &ent->pubkeys[i], - SSS_SSH_FORMAT_OPENSSH, NULL, &repr); + ret = sss_ssh_format_pubkey(mem_ctx, &ent->pubkeys[i], &repr); if (ret != EOK) { DEBUG(SSSDBG_OP_FAILURE, ("sss_ssh_format_pubkey() failed (%d): %s\n", |