diff options
author | Darren Tucker <dtucker@dtucker.net> | 2021-03-13 04:40:43 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2021-03-13 04:40:43 +0100 |
commit | 5ca8a9216559349c56e09039c4335636fd85c241 (patch) | |
tree | 88d2fdf94e5ee802844436781442911725f4bba2 /sshd.c | |
parent | Don't install moduli during tests. (diff) | |
download | openssh-5ca8a9216559349c56e09039c4335636fd85c241.tar.xz openssh-5ca8a9216559349c56e09039c4335636fd85c241.zip |
Only call dh_set_moduli_file if using OpenSSL.
Fixes link failure when configuring --without-openssl since dh.c is not
linked in.
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1725,8 +1725,10 @@ main(int ac, char **av) parse_server_config(&options, rexeced_flag ? "rexec" : config_file_name, cfg, &includes, NULL); +#ifdef WITH_OPENSSL if (options.moduli_file != NULL) dh_set_moduli_file(options.moduli_file); +#endif /* Fill in default values for those options not explicitly set. */ fill_default_server_options(&options); |