summaryrefslogtreecommitdiff
path: root/ssh-keygen.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-04-27 01:52:30 +0000
committerDamien Miller <djm@mindrot.org>2015-04-29 18:19:05 +1000
commit734226b4480a6c736096c729fcf6f391400599c7 (patch)
tree2710831f899f923443818bc6b009ff1ddd924837 /ssh-keygen.c
parenta4b9d2ce1eb7703eaf0809b0c8a82ded8aa4f1c6 (diff)
upstream commit
fix compilation with OPENSSL=no; ok dtucker@
Diffstat (limited to 'ssh-keygen.c')
-rw-r--r--ssh-keygen.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ssh-keygen.c b/ssh-keygen.c
index ad9f3026b..2c0543c96 100644
--- a/ssh-keygen.c
+++ b/ssh-keygen.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-keygen.c,v 1.270 2015/04/24 01:36:01 deraadt Exp $ */ 1/* $OpenBSD: ssh-keygen.c,v 1.271 2015/04/27 01:52:30 djm 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
@@ -183,8 +183,7 @@ static void
183type_bits_valid(int type, const char *name, u_int32_t *bitsp) 183type_bits_valid(int type, const char *name, u_int32_t *bitsp)
184{ 184{
185#ifdef WITH_OPENSSL 185#ifdef WITH_OPENSSL
186 u_int maxbits; 186 u_int maxbits, nid;
187 int nid;
188#endif 187#endif
189 188
190 if (type == KEY_UNSPEC) 189 if (type == KEY_UNSPEC)