From 88057eb6df912abf2678ea5c846d9d9cbc92752c Mon Sep 17 00:00:00 2001 From: "dtucker@openbsd.org" Date: Fri, 12 Mar 2021 04:08:19 +0000 Subject: upstream: Add ModuliFile keyword to sshd_config to specify the location of the "moduli" file containing the groups for DH-GEX. This will allow us to run tests against arbitrary moduli files without having to install them. ok djm@ OpenBSD-Commit-ID: 8df99d60b14ecaaa28f3469d01fc7f56bff49f66 --- dh.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'dh.h') diff --git a/dh.h b/dh.h index 5d6df629..c6326a39 100644 --- a/dh.h +++ b/dh.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dh.h,v 1.18 2019/09/06 05:23:55 djm Exp $ */ +/* $OpenBSD: dh.h,v 1.19 2021/03/12 04:08:19 dtucker Exp $ */ /* * Copyright (c) 2000 Niels Provos. All rights reserved. @@ -47,6 +47,7 @@ int dh_gen_key(DH *, int); int dh_pub_is_valid(const DH *, const BIGNUM *); u_int dh_estimate(int); +void dh_set_moduli_file(const char *); /* * Max value from RFC4419. -- cgit v1.2.1