1 | /* |
1 | /* |
2 | vpectrl.C -- the main file for vpectrl |
2 | vpectrl.C -- the main file for gvpectrl |
3 | Copyright (C) 1998-2002 Ivo Timmermans <ivo@o2w.nl> |
3 | Copyright (C) 1998-2002 Ivo Timmermans <ivo@o2w.nl> |
4 | 2000-2002 Guus Sliepen <guus@sliepen.eu.org> |
4 | 2000-2002 Guus Sliepen <guus@sliepen.eu.org> |
5 | 2003 Marc Lehmann <pcg@goof.com> |
5 | 2003-2004 Marc Lehmann <pcg@goof.com> |
6 | |
6 | |
7 | This program is free software; you can redistribute it and/or modify |
7 | This program is free software; you can redistribute it and/or modify |
8 | it under the terms of the GNU General Public License as published by |
8 | it under the terms of the GNU General Public License as published by |
9 | the Free Software Foundation; either version 2 of the License, or |
9 | the Free Software Foundation; either version 2 of the License, or |
10 | (at your option) any later version. |
10 | (at your option) any later version. |
… | |
… | |
311 | } |
311 | } |
312 | |
312 | |
313 | if (show_help) |
313 | if (show_help) |
314 | usage (0); |
314 | usage (0); |
315 | |
315 | |
316 | make_names (); |
|
|
317 | conf.read_config (false); |
316 | conf.read_config (false); |
318 | |
317 | |
319 | if (generate_keys) |
318 | if (generate_keys) |
320 | { |
319 | { |
321 | RAND_load_file ("/dev/urandom", 1024); |
320 | RAND_load_file ("/dev/urandom", 1024); |