View | Details | Raw Unified | Return to bug 2388 | Differences between
and this patch

Collapse All | Expand All

(-)a/ssh-keygen.c (-1 / +4 lines)
Lines 174-183 extern char *__progname; Link Here
174
174
175
char hostname[NI_MAXHOST];
175
char hostname[NI_MAXHOST];
176
176
177
#ifdef WITH_OPENSSL
177
/* moduli.c */
178
/* moduli.c */
178
int gen_candidates(FILE *, u_int32_t, u_int32_t, BIGNUM *);
179
int gen_candidates(FILE *, u_int32_t, u_int32_t, BIGNUM *);
179
int prime_test(FILE *, FILE *, u_int32_t, u_int32_t, char *, unsigned long,
180
int prime_test(FILE *, FILE *, u_int32_t, u_int32_t, char *, unsigned long,
180
    unsigned long);
181
    unsigned long);
182
#endif
181
183
182
static void
184
static void
183
type_bits_valid(int type, const char *name, u_int32_t *bitsp)
185
type_bits_valid(int type, const char *name, u_int32_t *bitsp)
Lines 2571-2576 main(int argc, char **argv) Link Here
2571
		}
2573
		}
2572
	}
2574
	}
2573
2575
2576
#ifdef WITH_OPENSSL
2574
	if (do_gen_candidates) {
2577
	if (do_gen_candidates) {
2575
		FILE *out = fopen(out_file, "w");
2578
		FILE *out = fopen(out_file, "w");
2576
2579
Lines 2610-2615 main(int argc, char **argv) Link Here
2610
			fatal("modulus screening failed");
2613
			fatal("modulus screening failed");
2611
		return (0);
2614
		return (0);
2612
	}
2615
	}
2616
#endif /* WITH_OPENSSL */
2613
2617
2614
	if (gen_all_hostkeys) {
2618
	if (gen_all_hostkeys) {
2615
		do_gen_all_hostkeys(pw);
2619
		do_gen_all_hostkeys(pw);
2616
- 

Return to bug 2388