diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2015-05-27 23:39:18 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-05-28 13:53:13 +1000 |
commit | 40f64292b907afd0a674fdbf3e4c2356d17a7d68 (patch) | |
tree | b1bc6d972fd8cd1ad234468a30cd5c92ea2fd174 /dh.h | |
parent | 5ab7d5fa03ad55bc438fab45dfb3aeb30a3c237a (diff) |
upstream commit
Add a stronger (4k bit) fallback group that sshd can use
when the moduli file is missing or broken, sourced from RFC3526. bz#2302, ok
markus@ (earlier version), djm@
Upstream-ID: b635215746a25a829d117673d5e5a76d4baee7f4
Diffstat (limited to 'dh.h')
-rw-r--r-- | dh.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh.h,v 1.12 2015/01/19 20:16:15 markus Exp $ */ | 1 | /* $OpenBSD: dh.h,v 1.13 2015/05/27 23:39:18 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000 Niels Provos. All rights reserved. | 4 | * Copyright (c) 2000 Niels Provos. All rights reserved. |
@@ -37,6 +37,7 @@ DH *dh_new_group_asc(const char *, const char *); | |||
37 | DH *dh_new_group(BIGNUM *, BIGNUM *); | 37 | 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 | DH *dh_new_group_fallback(int); | ||
40 | 41 | ||
41 | int dh_gen_key(DH *, int); | 42 | int dh_gen_key(DH *, int); |
42 | int dh_pub_is_valid(DH *, BIGNUM *); | 43 | int dh_pub_is_valid(DH *, BIGNUM *); |