summaryrefslogtreecommitdiff
path: root/authfd.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-03-05 07:47:23 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-03-05 07:47:23 +0000
commit6df8ef4196f1287d4c328f09ea7f8c0995e0cab1 (patch)
treec4d4da3f9a84099838388a6070c7cdc675c27155 /authfd.c
parentfafea18d68f3d1a4ea412ff4618fd66c1a05b548 (diff)
- millert@cvs.openbsd.org 2001/03/04 17:42:28
[authfd.c channels.c dh.c log.c readconf.c servconf.c sftp-int.c ssh.c sshconnect.c sshd.c] log functions should not be passed strings that end in newline as they get passed on to syslog() and when logging to stderr, do_log() appends its own newline.
Diffstat (limited to 'authfd.c')
-rw-r--r--authfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/authfd.c b/authfd.c
index 74518e3fb..76e917755 100644
--- a/authfd.c
+++ b/authfd.c
@@ -35,7 +35,7 @@
35 */ 35 */
36 36
37#include "includes.h" 37#include "includes.h"
38RCSID("$OpenBSD: authfd.c,v 1.36 2001/03/01 02:11:25 deraadt Exp $"); 38RCSID("$OpenBSD: authfd.c,v 1.37 2001/03/04 17:42:27 millert Exp $");
39 39
40#include <openssl/evp.h> 40#include <openssl/evp.h>
41 41
@@ -254,7 +254,7 @@ ssh_get_num_identities(AuthenticationConnection *auth, int version)
254 /* Get the number of entries in the response and check it for sanity. */ 254 /* Get the number of entries in the response and check it for sanity. */
255 auth->howmany = buffer_get_int(&auth->identities); 255 auth->howmany = buffer_get_int(&auth->identities);
256 if (auth->howmany > 1024) 256 if (auth->howmany > 1024)
257 fatal("Too many identities in authentication reply: %d\n", 257 fatal("Too many identities in authentication reply: %d",
258 auth->howmany); 258 auth->howmany);
259 259
260 return auth->howmany; 260 return auth->howmany;