diff options
Diffstat (limited to 'dh.h')
-rw-r--r-- | dh.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh.h,v 1.11 2013/10/08 11:42:13 dtucker Exp $ */ | 1 | /* $OpenBSD: dh.h,v 1.12 2015/01/19 20:16:15 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Niels Provos. All rights reserved. | 4 | * Copyright (c) 2000 Niels Provos. All rights reserved. |
@@ -38,10 +38,10 @@ DH *dh_new_group(BIGNUM *, BIGNUM *); | |||
38 | DH *dh_new_group1(void); | 38 | DH *dh_new_group1(void); |
39 | DH *dh_new_group14(void); | 39 | DH *dh_new_group14(void); |
40 | 40 | ||
41 | void dh_gen_key(DH *, int); | 41 | int dh_gen_key(DH *, int); |
42 | int dh_pub_is_valid(DH *, BIGNUM *); | 42 | int dh_pub_is_valid(DH *, BIGNUM *); |
43 | 43 | ||
44 | int dh_estimate(int); | 44 | u_int dh_estimate(int); |
45 | 45 | ||
46 | /* Min and max values from RFC4419. */ | 46 | /* Min and max values from RFC4419. */ |
47 | #define DH_GRP_MIN 1024 | 47 | #define DH_GRP_MIN 1024 |