SSH: Allow newline at the end of public key values in LDAP Resolves: https://fedorahosted.org/sssd/ticket/2349 Reviewed-by: Pavel Reichl <preichl@redhat.com>
Make DEBUG macro invocations variadic Use a script to update DEBUG macro invocations to use it as a variadic macro, supplying format string and its arguments directly, instead of wrapping them in parens. This script was used to update the code: grep -rwl --include '*.[hc]' DEBUG . | while read f; do mv "$f"{,.orig} perl -e \ 'use strict; use File::Slurp; my $text=read_file(\*STDIN); $text=~s#(\bDEBUG\s*\([^(]+)\((.*?)\)\s*\)\s*;#$1$2);#gs; print $text;' < "$f.orig" > "$f" rm "$f.orig" done Reviewed-by: Jakub Hrozek <jhrozek@redhat.com> Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> Reviewed-by: Simo Sorce <simo@redhat.com>
SSH: Add support for OpenSSH-style public keys
SSH: Simplify public key formatting function
SSH: Return error code in SSH utility functions
SSH: Add support for hashed known_hosts https://fedorahosted.org/sssd/ticket/1203
SSH: Add missing break statements to sss_ssh_format_pubkey
SSH: Add more debugging messages
SSH: Refactor responder and client common code