summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2012-02-27 05:17:49 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-02-27 11:52:34 -0500
commit3194ce1c60e766e2a850949427dd99ad09944ddb (patch)
treeb8bc1f4ad546246abdaeb901cbbc97541e67f361 /src/util
parente5359baeac6e2d49769aceddbdbc606833b1ec69 (diff)
downloadsssd-3194ce1c60e766e2a850949427dd99ad09944ddb.tar.gz
sssd-3194ce1c60e766e2a850949427dd99ad09944ddb.tar.bz2
sssd-3194ce1c60e766e2a850949427dd99ad09944ddb.zip
SSH: Add missing break statements to sss_ssh_format_pubkey
Diffstat (limited to 'src/util')
-rw-r--r--src/util/sss_ssh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/sss_ssh.c b/src/util/sss_ssh.c
index 0c62d6e4..0163c1d8 100644
--- a/src/util/sss_ssh.c
+++ b/src/util/sss_ssh.c
@@ -157,6 +157,7 @@ sss_ssh_format_pubkey(TALLOC_CTX *mem_ctx,
case SSS_SSH_FORMAT_RAW:
/* base64-encoded key blob */
result = talloc_steal(mem_ctx, blob);
+ break;
case SSS_SSH_FORMAT_OPENSSH:
/* OpenSSH authorized_keys/known_hosts format */
@@ -166,6 +167,7 @@ sss_ssh_format_pubkey(TALLOC_CTX *mem_ctx,
}
result = talloc_asprintf(mem_ctx, "%s %s %s", algo, blob, ent->name);
+ break;
}
done: