X-Git-Url: http://www.project-moonshot.org/gitweb/?p=mech_eap.git;a=blobdiff_plain;f=libeap%2Feap_example%2Feap_example_server.c;h=a081b873ad2174489a6e683bf481de048c7d7756;hp=03deb6751454f8af82c201c23b0d9712668f4056;hb=4f319dde67a76fe0aaf33f6d2788968012584ada;hpb=ed09b5e64dd485851310307979d5eed14678087b diff --git a/libeap/eap_example/eap_example_server.c b/libeap/eap_example/eap_example_server.c index 03deb67..a081b87 100644 --- a/libeap/eap_example/eap_example_server.c +++ b/libeap/eap_example/eap_example_server.c @@ -3,14 +3,8 @@ * a library. * Copyright (c) 2007, Jouni Malinen * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - * - * Alternatively, this software may be distributed under the terms of BSD - * license. - * - * See README and COPYING for more details. + * This software may be distributed under the terms of the BSD license. + * See README for more details. */ #include "includes.h" @@ -87,6 +81,7 @@ static int eap_example_server_init_tls(void) /* tparams.private_key = "server.key"; */ tparams.private_key = "server-key.pem"; /* tparams.private_key_passwd = "whatever"; */ + tparams.dh_file = "dh.conf"; if (tls_global_set_params(eap_ctx.tls_ctx, &tparams)) { printf("Failed to set TLS parameters\n");