From 7e9a0e92342e3e789c3b6feed8bc27f6c956384d Mon Sep 17 00:00:00 2001 From: dtucker Date: Mon, 24 May 2004 00:14:24 +0000 Subject: [PATCH] - markus@cvs.openbsd.org 2004/05/21 08:43:03 [kex.h moduli.c tildexpand.c] add prototypes for -Wall; ok djm --- ChangeLog | 3 +++ kex.h | 5 ++++- moduli.c | 4 +++- tildexpand.c | 3 ++- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index e4409534..c52c6033 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,9 @@ - dtucker@cvs.openbsd.org 2004/05/20 10:58:05 [clientloop.c] Trivial type fix 0 -> '\0'; ok markus@ + - markus@cvs.openbsd.org 2004/05/21 08:43:03 + [kex.h moduli.c tildexpand.c] + add prototypes for -Wall; ok djm 20040523 - (djm) [sshd_config] Explain consequences of UsePAM=yes a little better in diff --git a/kex.h b/kex.h index 52d442e9..43773504 100644 --- a/kex.h +++ b/kex.h @@ -1,4 +1,4 @@ -/* $OpenBSD: kex.h,v 1.33 2003/02/16 17:09:57 markus Exp $ */ +/* $OpenBSD: kex.h,v 1.34 2004/05/21 08:43:03 markus Exp $ */ /* * Copyright (c) 2000, 2001 Markus Friedl. All rights reserved. @@ -137,6 +137,9 @@ u_char * kexgex_hash(char *, char *, char *, int, char *, int, u_char *, int, int, int, int, BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *, BIGNUM *); +void +derive_ssh1_session_id(BIGNUM *, BIGNUM *, u_int8_t[8], u_int8_t[16]); + #if defined(DEBUG_KEX) || defined(DEBUG_KEXDH) void dump_digest(char *, u_char *, int); #endif diff --git a/moduli.c b/moduli.c index f72baab3..c8769c0a 100644 --- a/moduli.c +++ b/moduli.c @@ -1,4 +1,4 @@ -/* $OpenBSD: moduli.c,v 1.7 2004/05/09 00:06:47 djm Exp $ */ +/* $OpenBSD: moduli.c,v 1.8 2004/05/21 08:43:03 markus Exp $ */ /* * Copyright 1994 Phil Karn * Copyright 1996-1998, 2003 William Allen Simpson @@ -144,6 +144,8 @@ static u_int32_t *LargeSieve, largewords, largetries, largenumbers; static u_int32_t largebits, largememory; /* megabytes */ static BIGNUM *largebase; +int gen_candidates(FILE *, int, int, BIGNUM *); +int prime_test(FILE *, FILE *, u_int32_t, u_int32_t); /* * print moduli out in consistent form, diff --git a/tildexpand.c b/tildexpand.c index 40aa1196..cedb653b 100644 --- a/tildexpand.c +++ b/tildexpand.c @@ -11,10 +11,11 @@ */ #include "includes.h" -RCSID("$OpenBSD: tildexpand.c,v 1.14 2004/05/08 00:01:37 deraadt Exp $"); +RCSID("$OpenBSD: tildexpand.c,v 1.15 2004/05/21 08:43:03 markus Exp $"); #include "xmalloc.h" #include "log.h" +#include "misc.h" /* * Expands tildes in the file name. Returns data allocated by xmalloc. -- 2.45.2