summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/dh.h
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-06-26 06:33:08 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2001-06-26 06:33:08 +0000
commit38ff9051ba504cfdd1c2e9f02b248b2b71c2e9bf (patch)
treedaf4bce5a7f7822fa8f958aabecbc26db6fa46ee /usr.bin/ssh/dh.h
parentd4aba5f28304432a57f9be423624f773dd99cc52 (diff)
prototype pedant. not very creative...
- () -> (void) - no variable names
Diffstat (limited to 'usr.bin/ssh/dh.h')
-rw-r--r--usr.bin/ssh/dh.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/ssh/dh.h b/usr.bin/ssh/dh.h
index e8b2944ce9f..fd90fab5a6a 100644
--- a/usr.bin/ssh/dh.h
+++ b/usr.bin/ssh/dh.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dh.h,v 1.5 2001/04/03 19:53:29 markus Exp $ */
+/* $OpenBSD: dh.h,v 1.6 2001/06/26 06:32:52 itojun Exp $ */
/*
* Copyright (c) 2000 Niels Provos. All rights reserved.
@@ -32,15 +32,15 @@ struct dhgroup {
BIGNUM *p;
};
-DH *choose_dh(int min, int nbits, int max);
+DH *choose_dh(int, int, int);
DH *dh_new_group_asc(const char *, const char *);
DH *dh_new_group(BIGNUM *, BIGNUM *);
DH *dh_new_group1(void);
void dh_gen_key(DH *, int);
-int dh_pub_is_valid(DH *dh, BIGNUM *dh_pub);
+int dh_pub_is_valid(DH *, BIGNUM *);
-int dh_estimate(int bits);
+int dh_estimate(int);
#define DH_GRP_MIN 1024
#define DH_GRP_MAX 8192