summaryrefslogtreecommitdiff
path: root/src/sss_client/ssh/sss_ssh_authorizedkeys.c
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2012-09-01 16:10:06 -0400
committerJakub Hrozek <jhrozek@redhat.com>2012-09-04 10:17:42 +0200
commit4a628b83d129463e7886c8cdaa31739512947e42 (patch)
tree7fa8c3db79ab065d0d95dad82abac15f43690b6e /src/sss_client/ssh/sss_ssh_authorizedkeys.c
parentef9f85751b26995093cc9782fe48ddeacc8e2d3f (diff)
downloadsssd-4a628b83d129463e7886c8cdaa31739512947e42.tar.gz
sssd-4a628b83d129463e7886c8cdaa31739512947e42.tar.bz2
sssd-4a628b83d129463e7886c8cdaa31739512947e42.zip
SSH: Simplify public key formatting function
Diffstat (limited to 'src/sss_client/ssh/sss_ssh_authorizedkeys.c')
-rw-r--r--src/sss_client/ssh/sss_ssh_authorizedkeys.c3
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",