X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=apps%2Fgendh.c;h=b3c19581d350370dc6df0a80ece47dec90ab6d08;hb=7e701817234ff2be2a745fc63f32ccb5e874854c;hp=c69147e3704472842123263cd2f3c922d2aac28b;hpb=ec577822f95a8bca0023c5c77cef1a4916822d4a;p=oweals%2Fopenssl.git diff --git a/apps/gendh.c b/apps/gendh.c index c69147e370..b3c19581d3 100644 --- a/apps/gendh.c +++ b/apps/gendh.c @@ -56,6 +56,7 @@ * [including the GNU Public Licence.] */ +#ifndef NO_DH #include #include #include @@ -73,14 +74,8 @@ #undef PROG #define PROG gendh_main -#ifndef NOPROTO static void MS_CALLBACK dh_cb(int p, int n, char *arg); static long dh_load_rand(char *names); -#else -static void MS_CALLBACK dh_cb(); -static long dh_load_rand(); -#endif - int MAIN(int argc, char **argv) { char buffer[200]; @@ -225,5 +220,4 @@ static long dh_load_rand(char *name) } return(tot); } - - +#endif