diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2021-03-12 04:08:19 +0000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2021-03-13 13:14:13 +1100 |
commit | 88057eb6df912abf2678ea5c846d9d9cbc92752c (patch) | |
tree | 7eae3d98c66cb57b8433b83d2e50aa63a47a3368 /dh.h | |
parent | f07519a2af96109325b5a48b1af18b57601074ca (diff) |
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
Diffstat (limited to 'dh.h')
-rw-r--r-- | dh.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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. |