summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-12-06 16:32:47 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-12-06 16:32:47 +0000
commit65366a8c766c8a769d42aa6e66b70f4512b4b7c3 (patch)
treeec32d1fd8da3491d6da5a88cc0bb54db14ad907d /ssh-keygen.c
parenteaffb9d6b6daafdfba60e76f766ed0dbf69c3d60 (diff)
- stevesk@cvs.openbsd.org 2001/11/17 19:14:34
[auth2.c auth.c readconf.c servconf.c ssh-agent.c ssh-keygen.c] enum/int type cleanup where it made sense to do so; ok markus@
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index 6d509972f..a3f60cf01 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -12,7 +12,7 @@
12 */ 12 */
13 13
14#include "includes.h" 14#include "includes.h"
15RCSID("$OpenBSD: ssh-keygen.c,v 1.83 2001/10/25 21:14:32 markus Exp $"); 15RCSID("$OpenBSD: ssh-keygen.c,v 1.84 2001/11/17 19:14:34 stevesk Exp $");
16 16
17#include <openssl/evp.h> 17#include <openssl/evp.h>
18#include <openssl/pem.h> 18#include <openssl/pem.h>
@@ -534,7 +534,9 @@ do_fingerprint(struct passwd *pw)
534 FILE *f; 534 FILE *f;
535 Key *public; 535 Key *public;
536 char *comment = NULL, *cp, *ep, line[16*1024], *fp; 536 char *comment = NULL, *cp, *ep, line[16*1024], *fp;
537 int i, skip = 0, num = 1, invalid = 1, rep, fptype; 537 int i, skip = 0, num = 1, invalid = 1;
538 enum fp_rep rep;
539 enum fp_type fptype;
538 struct stat st; 540 struct stat st;
539 541
540 fptype = print_bubblebabble ? SSH_FP_SHA1 : SSH_FP_MD5; 542 fptype = print_bubblebabble ? SSH_FP_SHA1 : SSH_FP_MD5;