diff -ruN openssh-5.4p1+x509-6.2.2/sshd.c openssh-5.4p1+x509-6.2.3/sshd.c --- openssh-5.4p1+x509-6.2.2/sshd.c 2010-03-08 09:06:01.000000000 +0200 +++ openssh-5.4p1+x509-6.2.3/sshd.c 2010-03-09 22:06:01.000000000 +0200 @@ -745,6 +745,10 @@ p = key_ssh_name(key); buffer_append(&b, p, strlen(p)); break; + case KEY_X509_RSA: + case KEY_X509_DSA: + ssh_list_xkalg(key->type, &b); + break; } /* If the private key has a cert peer, then list that too */ key = sensitive_data.host_certificates[i]; @@ -758,10 +762,6 @@ p = key_ssh_name(key); buffer_append(&b, p, strlen(p)); break; - case KEY_X509_RSA: - case KEY_X509_DSA: - ssh_list_xkalg(key->type, &b); - break; } } buffer_append(&b, "\0", 1);