summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2007-01-05 16:30:16 +1100
committerDamien Miller <djm@mindrot.org>2007-01-05 16:30:16 +1100
commit80163907edd6a3c7c8de7a40ab9803528cd3acb7 (patch)
treeb4caadd3e5bdb860057727f082e6abaed892b093 /ssh-keygen.c
parent6c7439f963c04ddeedbb858c5f96647eea3c9360 (diff)
- stevesk@cvs.openbsd.org 2007/01/03 03:01:40
[auth2-chall.c channels.c dns.c sftp.c ssh-keygen.c ssh.c] spaces
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index f43b12493..4c5b14005 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keygen.c,v 1.157 2007/01/03 00:53:38 stevesk Exp $ */ 1/* $OpenBSD: ssh-keygen.c,v 1.158 2007/01/03 03:01:40 stevesk Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1994 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -253,7 +253,7 @@ do_convert_private_ssh2_from_blob(u_char *blob, u_int blen)
253 i2 = buffer_get_int(&b); 253 i2 = buffer_get_int(&b);
254 i3 = buffer_get_int(&b); 254 i3 = buffer_get_int(&b);
255 i4 = buffer_get_int(&b); 255 i4 = buffer_get_int(&b);
256 debug("ignore (%d %d %d %d)", i1,i2,i3,i4); 256 debug("ignore (%d %d %d %d)", i1, i2, i3, i4);
257 if (strcmp(cipher, "none") != 0) { 257 if (strcmp(cipher, "none") != 0) {
258 error("unsupported cipher %s", cipher); 258 error("unsupported cipher %s", cipher);
259 xfree(cipher); 259 xfree(cipher);
@@ -553,7 +553,7 @@ do_fingerprint(struct passwd *pw)
553 for (cp = line; *cp == ' ' || *cp == '\t'; cp++) 553 for (cp = line; *cp == ' ' || *cp == '\t'; cp++)
554 ; 554 ;
555 if (!*cp || *cp == '\n' || *cp == '#') 555 if (!*cp || *cp == '\n' || *cp == '#')
556 continue ; 556 continue;
557 i = strtol(cp, &ep, 10); 557 i = strtol(cp, &ep, 10);
558 if (i == 0 || ep == NULL || (*ep != ' ' && *ep != '\t')) { 558 if (i == 0 || ep == NULL || (*ep != ' ' && *ep != '\t')) {
559 int quoted = 0; 559 int quoted = 0;